@m4l/styles 0.0.33 → 0.0.34

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/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { g as f, m as x } from "./config.5405b46b.js";
2
- import { d as g } from "./theme/defaultThemeOptions.8a0a9552.js";
3
- import { c as u, s as d } from "./theme/shadows.f7e9f204.js";
4
- import { P as S, p as C } from "./theme/palette.c010be01.js";
2
+ import { d as g } from "./theme/defaultThemeOptions.66a289a7.js";
3
+ import { c as u, s as d } from "./theme/shadows.a726d8c6.js";
4
+ import { P as S, p as C } from "./theme/palette.1b577d8c.js";
5
5
  import { t as R } from "./theme/typography.b14a8e35.js";
6
- import { f as c } from "./theme/overrides/index.c6df0378.js";
6
+ import { f as c } from "./theme/overrides/index.2d07abe3.js";
7
7
  import { u as T } from "./utils/useResponsive.2c45e8e0.js";
8
- import { g as w } from "./utils/getColorState.5e26c43a.js";
9
- import { e as y, b as F, c as V, d as k, g as q, a as A, t as B } from "./utils/getColorPresets.fd669756.js";
8
+ import { g as w } from "./utils/getColorState.ce01540c.js";
9
+ import { e as y, b as F, c as V, d as k, g as q, a as A, t as B } from "./utils/getColorPresets.479f9922.js";
10
10
  import { g as N, p as U, a as j, r as D } from "./utils/getFontValue.88831637.js";
11
11
  import "@mui/material";
12
12
  import "@mui/material/styles";
13
13
  import "./theme/overrides/MUIComponents/index.b3f5b7a7.js";
14
- import "./theme/overrides/M4LExtendedComponents/index.7ce8c9f6.js";
14
+ import "./theme/overrides/M4LExtendedComponents/index.e406c71f.js";
15
15
  import "@mui/system";
16
16
  import "./theme/overrides/M4LRHFComponents/index.d7a80536.js";
17
17
  import "@mui/material/useMediaQuery";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "dependencies": {
@@ -1,9 +1,9 @@
1
1
  import { t as a } from "./typography.b14a8e35.js";
2
- import { p as o } from "./palette.c010be01.js";
2
+ import { p as o } from "./palette.1b577d8c.js";
3
3
  import { alpha as s } from "@mui/material";
4
- import { s as e, c as p } from "./shadows.f7e9f204.js";
5
- import { g as r } from "../utils/getColorPresets.fd669756.js";
6
- import { g as m } from "../utils/getColorState.5e26c43a.js";
4
+ import { s as e, c as p } from "./shadows.a726d8c6.js";
5
+ import { g as r } from "../utils/getColorPresets.479f9922.js";
6
+ import { g as m } from "../utils/getColorState.ce01540c.js";
7
7
  const f = {
8
8
  typography: a,
9
9
  palette: {
@@ -3,10 +3,9 @@ export declare const M4LButton: (theme: Theme) => {
3
3
  M4LButton: {
4
4
  styleOverrides: {
5
5
  '&.M4LButton-root': {
6
- height: string;
7
6
  minHeight: string;
8
7
  borderRadius: string;
9
- '& .M4LButton-skeleton ': {
8
+ '& .M4LButton-skeleton': {
10
9
  height: string;
11
10
  borderRadius: string;
12
11
  };
@@ -14,7 +14,11 @@ export declare const M4LMenuActions: (theme: Theme) => {
14
14
  minHeight: string;
15
15
  minWidth: string;
16
16
  padding: string;
17
- '& .M4LIcon-root': {};
17
+ gap: string;
18
+ '& .M4LIcon-root': {
19
+ minHeight: string;
20
+ minWidth: string;
21
+ };
18
22
  '& .css-hgjo64': {
19
23
  margin: string;
20
24
  };
@@ -4,7 +4,7 @@ export declare const M4LPDFViewer: (_theme: Theme) => {
4
4
  styleOverrides: {
5
5
  '&.M4LPDFViewer-root': {
6
6
  width: string;
7
- heigth: string;
7
+ height: string;
8
8
  position: string;
9
9
  '& .M4LButton-root': {
10
10
  position: string;
@@ -1,6 +1,6 @@
1
1
  import { alpha as e } from "@mui/material/styles";
2
2
  import { alpha as t } from "@mui/system";
3
- import { P as r } from "../../palette.c010be01.js";
3
+ import { P as r } from "../../palette.1b577d8c.js";
4
4
  const p = (o) => ({
5
5
  M4LDynamicFilter: {
6
6
  styleOverrides: {
@@ -583,7 +583,7 @@ const p = (o) => ({
583
583
  zIndex: "10000",
584
584
  "& .MuiButtonBase-root": {
585
585
  justifyContent: "normal !important",
586
- gap: "8px !important"
586
+ gap: "8px"
587
587
  }
588
588
  },
589
589
  "& .M4LanguagePopover-containerItems": {
@@ -622,7 +622,7 @@ const p = (o) => ({
622
622
  gap: "16px !important",
623
623
  "& .MuiButtonBase-root": {
624
624
  justifyContent: "normal !important",
625
- gap: "16px !important",
625
+ gap: "16px",
626
626
  "& .css-1qhcwcd": {
627
627
  width: "28px !important",
628
628
  height: "28px !important",
@@ -679,15 +679,14 @@ const p = (o) => ({
679
679
  display: "flex",
680
680
  justifyContent: "center",
681
681
  ...o.typography.action,
682
- height: "24px",
683
682
  minHeight: "24px",
684
683
  borderRadius: "4px",
685
684
  [o.breakpoints.down("md")]: {
686
685
  height: "36px",
687
686
  minHeight: "36px"
688
687
  },
689
- "& .M4LButton-skeleton ": {
690
- height: "100%!important",
688
+ "& .M4LButton-skeleton": {
689
+ height: "100% !important",
691
690
  borderRadius: "4px"
692
691
  },
693
692
  "& .MuiButtonBase-root": {
@@ -3843,7 +3842,7 @@ const p = (o) => ({
3843
3842
  background: o.palette.state.active12,
3844
3843
  border: "2px solid",
3845
3844
  borderColor: o.palette.state.borderPrimary,
3846
- boxShadow: o.customShadows.z3,
3845
+ boxShadow: o.customShadows.z4,
3847
3846
  [o.breakpoints.down("sm")]: {
3848
3847
  width: "100%",
3849
3848
  height: "100%",
@@ -4610,7 +4609,11 @@ const p = (o) => ({
4610
4609
  minHeight: "24px",
4611
4610
  minWidth: "24px",
4612
4611
  padding: "0",
4613
- "& .M4LIcon-root": {},
4612
+ gap: "0px",
4613
+ "& .M4LIcon-root": {
4614
+ minHeight: "24px",
4615
+ minWidth: "24px"
4616
+ },
4614
4617
  "& .css-hgjo64": {
4615
4618
  margin: "0"
4616
4619
  }
@@ -5210,7 +5213,7 @@ const p = (o) => ({
5210
5213
  styleOverrides: {
5211
5214
  "&.M4LPDFViewer-root": {
5212
5215
  width: "100%",
5213
- heigth: "100%",
5216
+ height: "100%",
5214
5217
  position: "relative",
5215
5218
  "& .M4LButton-root": {
5216
5219
  position: "sticky!important",
@@ -1,5 +1,5 @@
1
1
  import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as d, T as c, P as l, S as u, c as g, d as B, D as F, A as P, e as A, f as T, g as b, h as y, i as C, j as I, k as R, l as S, m as v, n as D, o as k, p as H, q as f, r as x, s as w, t as G, u as E, v as V, w as j, x as N, y as O, z as q, E as z } from "./MUIComponents/index.b3f5b7a7.js";
2
- import { M as U, a as t, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z, i as _, j as $, k as m, l as e, m as h, n as aa, o as sa, p as oa, q as ra, r as La, s as Ma, t as na, u as ia, v as pa, w as da, x as ca, y as la, z as ua, A as ga, B as Ba, C as Fa, D as Pa, E as Aa, F as Ta, G as ba, H as ya, I as Ca, J as Ia, K as Ra, L as Sa, N as va, O as Da, P as ka, Q as Ha, R as fa, S as xa, T as wa, U as Ga, V as Ea } from "./M4LExtendedComponents/index.7ce8c9f6.js";
2
+ import { M as U, a as t, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z, i as _, j as $, k as m, l as e, m as h, n as aa, o as sa, p as oa, q as ra, r as La, s as Ma, t as na, u as ia, v as pa, w as da, x as ca, y as la, z as ua, A as ga, B as Ba, C as Fa, D as Pa, E as Aa, F as Ta, G as ba, H as ya, I as Ca, J as Ia, K as Ra, L as Sa, N as va, O as Da, P as ka, Q as Ha, R as fa, S as xa, T as wa, U as Ga, V as Ea } from "./M4LExtendedComponents/index.e406c71f.js";
3
3
  import { M as Va, a as ja, b as Na, c as Oa, d as qa, e as za, f as Ua, g as ta, h as Ja } from "./M4LRHFComponents/index.d7a80536.js";
4
4
  function Xa(a) {
5
5
  return Object.assign(
@@ -126,7 +126,7 @@ const e = {
126
126
  },
127
127
  marbleLight: {
128
128
  10: "#FFFFFF",
129
- 20: "#F5F9FA",
129
+ 20: "#F9FAFA",
130
130
  30: "#F4F5F5",
131
131
  40: "#F0F4F4",
132
132
  50: "#E6E8EA",
@@ -339,18 +339,18 @@ const e = {
339
339
  }, C = {
340
340
  normal: e.flameRed[40],
341
341
  hover: e.flameRed[60]
342
- }, D = {
342
+ }, m = {
343
343
  normal: e.middleYellow[60],
344
344
  hover: e.middleYellow[70]
345
- }, m = {
345
+ }, D = {
346
346
  default: r(e.coolGrey[50], 0.24),
347
347
  transition: r(e.coolGrey[50], 0.08)
348
348
  }, b = {
349
349
  info: { ...u },
350
350
  success: { ...g },
351
351
  error: { ...C },
352
- warning: { ...D },
353
- skeleton: { ...m }
352
+ warning: { ...m },
353
+ skeleton: { ...D }
354
354
  }, f = {
355
355
  common: { black: "#000", white: "#fff" },
356
356
  primary: { ...a },
@@ -385,7 +385,7 @@ const e = {
385
385
  default: e.marbleLight[10],
386
386
  neutral: e.marbleLight[30],
387
387
  background: e.marbleLight[60],
388
- header: "#F9FAFA"
388
+ header: e.marbleLight[20]
389
389
  },
390
390
  divider: e.coolGrey[20],
391
391
  grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
@@ -87,7 +87,7 @@ export declare const palette: {
87
87
  readonly default: string;
88
88
  readonly neutral: string;
89
89
  readonly background: string;
90
- readonly header: "#F9FAFA";
90
+ readonly header: string;
91
91
  };
92
92
  readonly divider: string;
93
93
  readonly grid: {
@@ -1,5 +1,5 @@
1
1
  import { alpha as r } from "@mui/material/styles";
2
- import { p as a, P as e } from "./palette.c010be01.js";
2
+ import { p as a, P as e } from "./palette.1b577d8c.js";
3
3
  const s = a.light.grey[500], o = "#000000", n = (t) => {
4
4
  const p = r(t, 0.2), x = r(t, 0.14), $ = r(t, 0.12);
5
5
  return [
@@ -1,4 +1,4 @@
1
- import { P as r } from "../theme/palette.c010be01.js";
1
+ import { P as r } from "../theme/palette.1b577d8c.js";
2
2
  const e = [
3
3
  {
4
4
  name: "patronus",
@@ -1,5 +1,5 @@
1
1
  import { alpha as a } from "@mui/system";
2
- import { P as e, O as r, S as o } from "../theme/palette.c010be01.js";
2
+ import { P as e, O as r, S as o } from "../theme/palette.1b577d8c.js";
3
3
  const u = (d, i) => {
4
4
  let t = {};
5
5
  switch (d) {