@m4l/styles 7.1.31 → 7.1.33

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,63 +1,65 @@
1
- import { D as e, g as s, m as a } from "./config.js";
1
+ import { D as s, g as e, m as a } from "./config.js";
2
2
  import { c as E, s as S } from "./theme/shadows.js";
3
- import { f as _ } from "./theme/overrides/index.js";
4
- import { B as O } from "./theme/palette/baseColors.js";
5
- import { B as f } from "./theme/palette/baseOpacityColors.js";
3
+ import { f as p } from "./theme/overrides/index.js";
4
+ import { B as T } from "./theme/palette/baseColors.js";
5
+ import { B as R } from "./theme/palette/baseOpacityColors.js";
6
6
  import { C as P } from "./theme/palette/commonColors.js";
7
7
  import { G as A } from "./theme/palette/greyPalette.js";
8
- import { P as C, p as I } from "./theme/palette/presetColors.js";
9
- import { a as g, B as G } from "./theme/palette/baseChipsPalette.js";
10
- import { P as l } from "./theme/palette/defaultColors.js";
11
- import { P as D } from "./theme/palette/semanticColors.js";
12
- import { B as H } from "./theme/typography/baseFontSize.js";
13
- import { B as d } from "./theme/typography/baseLetterSpacing.js";
14
- import { B as M } from "./theme/typography/baseLineHeight.js";
15
- import { B as F } from "./theme/typography/baseWeight.js";
16
- import { T as U } from "./theme/typography/typography.js";
17
- import { a as y, T as K } from "./theme/typography/typographySizes.js";
18
- import { t as w } from "./theme/typographyOld.js";
19
- import { P as J, a as Q } from "./theme/sizes/pointerQr.js";
20
- import { u as k } from "./utils/useResponsive.js";
21
- import { D as W, d as j, g as q } from "./utils/getColorPresets.js";
22
- import { p as $, r as oo, a as ro } from "./utils/getFontValue.js";
23
- import { g as so } from "./utils/getColorState.js";
24
- import { g as to } from "./utils/getPaletteByPreset.js";
25
- import { g as So } from "./utils/getUserThemeOptions.js";
8
+ import { P as B, b as I, a as L, p as G } from "./theme/palette/presetColors.js";
9
+ import { a as i, B as l } from "./theme/palette/baseChipsPalette.js";
10
+ import { P as Y } from "./theme/palette/defaultColors.js";
11
+ import { P as H } from "./theme/palette/semanticColors.js";
12
+ import { B as N } from "./theme/typography/baseFontSize.js";
13
+ import { B as u } from "./theme/typography/baseLetterSpacing.js";
14
+ import { B as F } from "./theme/typography/baseLineHeight.js";
15
+ import { B as K } from "./theme/typography/baseWeight.js";
16
+ import { T as v } from "./theme/typography/typography.js";
17
+ import { a as b, T as c } from "./theme/typography/typographySizes.js";
18
+ import { t as z } from "./theme/typographyOld.js";
19
+ import { P as Q, a as k } from "./theme/sizes/pointerQr.js";
20
+ import { u as W } from "./utils/useResponsive.js";
21
+ import { D as q, d as X, g as $ } from "./utils/getColorPresets.js";
22
+ import { p as ro, r as so, a as eo } from "./utils/getFontValue.js";
23
+ import { g as to } from "./utils/getColorState.js";
24
+ import { g as So } from "./utils/getPaletteByPreset.js";
25
+ import { g as po } from "./utils/getUserThemeOptions.js";
26
26
  export {
27
- O as BASE_COLORS,
28
- H as BASE_FONT_SIZE,
29
- d as BASE_LETTER_SPACING,
30
- M as BASE_LINE_HEIGHT,
31
- f as BASE_OPACITY_COLORS,
32
- g as BASE_TAG_OBJECT_COLORS_DARK,
33
- G as BASE_TAG_OBJECT_COLORS_LIGHT,
34
- F as BASE_WEIGHT,
27
+ T as BASE_COLORS,
28
+ N as BASE_FONT_SIZE,
29
+ u as BASE_LETTER_SPACING,
30
+ F as BASE_LINE_HEIGHT,
31
+ R as BASE_OPACITY_COLORS,
32
+ i as BASE_TAG_OBJECT_COLORS_DARK,
33
+ l as BASE_TAG_OBJECT_COLORS_LIGHT,
34
+ K as BASE_WEIGHT,
35
35
  P as COMMON_COLORS,
36
- W as DEFAULT_PRESET,
37
- e as DEFAULT_SIZE,
36
+ q as DEFAULT_PRESET,
37
+ s as DEFAULT_SIZE,
38
38
  A as GREY_PALETTE,
39
- J as POINTER_QR_DESKTOP_SIZES,
40
- Q as POINTER_QR_MOBILE_SIZES,
41
- C as PRESET_COLORS,
42
- l as PRESET_DEFAULT,
43
- D as PRESET_SEMANTICS_COLORS,
44
- U as TYPOGRAPHY,
45
- y as TYPOGRAPHY_SIZES_DESKTOP,
46
- K as TYPOGRAPHY_SIZES_MOBILE,
39
+ Q as POINTER_QR_DESKTOP_SIZES,
40
+ k as POINTER_QR_MOBILE_SIZES,
41
+ B as PRESET_COLORS,
42
+ Y as PRESET_DEFAULT,
43
+ H as PRESET_SEMANTICS_COLORS,
44
+ I as PRIMARY_COLORS_DARK,
45
+ L as PRIMARY_COLORS_LIGHT,
46
+ v as TYPOGRAPHY,
47
+ b as TYPOGRAPHY_SIZES_DESKTOP,
48
+ c as TYPOGRAPHY_SIZES_MOBILE,
47
49
  E as createCustomShadows,
48
- j as defaultPresetColors,
49
- _ as fnComponentsOverrides,
50
- q as getColorPresets,
51
- so as getColorState,
52
- to as getPaletteByPreset,
53
- So as getUserThemeOptions,
54
- s as globalRemSize,
50
+ X as defaultPresetColors,
51
+ p as fnComponentsOverrides,
52
+ $ as getColorPresets,
53
+ to as getColorState,
54
+ So as getPaletteByPreset,
55
+ po as getUserThemeOptions,
56
+ e as globalRemSize,
55
57
  a as muiBreakpointsValues,
56
- I as presetsOptionsMainColor,
57
- $ as pxToRem,
58
- oo as remToPx,
59
- ro as responsiveFontSizes,
58
+ G as presetsOptionsMainColor,
59
+ ro as pxToRem,
60
+ so as remToPx,
61
+ eo as responsiveFontSizes,
60
62
  S as shadows,
61
- w as typographyOld,
62
- k as useResponsive
63
+ z as typographyOld,
64
+ W as useResponsive
63
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "7.1.31",
3
+ "version": "7.1.33",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "publishConfig": {
@@ -7,3 +7,4 @@ export { BASE_TAG_OBJECT_COLORS_LIGHT, BASE_TAG_OBJECT_COLORS_DARK } from './bas
7
7
  export { PRESET_DEFAULT } from './defaultColors';
8
8
  export { PRESET_SEMANTICS_COLORS } from './semanticColors';
9
9
  export { PRESET_COLORS } from './presetColors';
10
+ export { PRIMARY_COLORS_LIGHT, PRIMARY_COLORS_DARK } from './presetColors';
@@ -640,7 +640,7 @@ const a = {
640
640
  }));
641
641
  export {
642
642
  a as P,
643
- u as a,
644
- p as b,
643
+ p as a,
644
+ u as b,
645
645
  g as p
646
646
  };
@@ -215,7 +215,7 @@ const e = {
215
215
  // comprobado,,
216
216
  contrastText: a.marbleLight[30],
217
217
  // comprobado,
218
- semanticTextLight: a.flameRed[70],
218
+ semanticTextLight: a.flameRed[50],
219
219
  // comprobado,
220
220
  semanticTextDark: a.flameRed[40],
221
221
  // comprobado,
@@ -21,8 +21,8 @@ const m = {
21
21
  large: s.sp8
22
22
  },
23
23
  case: {
24
- small: s["sp5-5"],
25
- medium: s.sp4,
24
+ small: s["sp4-5"],
25
+ medium: s["sp5-5"],
26
26
  large: s.sp6
27
27
  }
28
28
  }, p = {
@@ -47,7 +47,7 @@ const m = {
47
47
  large: s.sp8
48
48
  },
49
49
  case: {
50
- small: s["sp4-5"],
50
+ small: s.sp4,
51
51
  medium: s.sp5,
52
52
  large: s.sp6
53
53
  }
package/types/types.d.ts CHANGED
@@ -135,7 +135,7 @@ export type DefaultPresetColor = Omit<PresetColor, 'borderMainDark' | 'borderMai
135
135
  mainDark: string;
136
136
  };
137
137
  export type PresetsOptionsColorMain = Array<{
138
- name: string | undefined;
138
+ name: ThemeUserColor | undefined;
139
139
  value: string;
140
140
  }>;
141
141
  export type ColorState = 'warning' | 'delete' | 'info' | 'success';
@@ -1,4 +1,4 @@
1
- import { a as g, P as s, b as f } from "../theme/palette/presetColors.js";
1
+ import { a as g, b as f, P as s } from "../theme/palette/presetColors.js";
2
2
  import { B as o } from "../theme/palette/baseColors.js";
3
3
  import { C as t } from "../theme/palette/commonColors.js";
4
4
  import { G as d } from "../theme/palette/greyPalette.js";
@@ -12,7 +12,7 @@ const l = {
12
12
  gridHover: "#FCFCFC"
13
13
  }
14
14
  }, x = (n) => {
15
- const r = f?.[n], e = g?.[n];
15
+ const r = g?.[n], e = f?.[n];
16
16
  return {
17
17
  light: {
18
18
  mode: "light",