@m4l/graphics 7.1.0 → 7.1.2-beta.1

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,7 +1,7 @@
1
1
  import { createStore as S } from "zustand";
2
2
  import { devtools as c } from "zustand/middleware";
3
3
  import { immer as p } from "zustand/middleware/immer";
4
- import { getPaletteByPreset as a, createCustomShadows as d, shadows as h, typographyOld as u, getColorPresets as f } from "@m4l/styles";
4
+ import { getPaletteByPreset as a, typographyOld as d, shadows as h, getColorPresets as u, createCustomShadows as f } from "@m4l/styles";
5
5
  import { alpha as U } from "@mui/system";
6
6
  import { d as s } from "./constants.js";
7
7
  function g(r, o = "m4l") {
@@ -18,7 +18,7 @@ const n = (r) => {
18
18
  const o = r.themeUserSettings || s, m = o.themeMode === "light", t = a(o.themeColor), e = m ? t.light : t.dark;
19
19
  r.themeOptions = {
20
20
  ...r.themeOptions,
21
- ...u,
21
+ ...d,
22
22
  palette: {
23
23
  ...r.themeOptions?.palette ?? {},
24
24
  ...e
@@ -28,10 +28,10 @@ const n = (r) => {
28
28
  shadows: m ? h.light : h.dark,
29
29
  customShadows: {
30
30
  primary: `0 8px 16px 0 ${U(
31
- f(o.themeColor)?.main || "#fff",
31
+ u(o.themeColor)?.main || "#fff",
32
32
  0.2
33
33
  )}`,
34
- ...d(o.themeMode)
34
+ ...f(o.themeMode)
35
35
  },
36
36
  stretch: o.themeStretch
37
37
  }, g(r.themeOptions);
@@ -3,7 +3,7 @@ import { UseRowsProps } from './types';
3
3
  * Hook para obtener las filas de la lista de elementos
4
4
  */
5
5
  export declare const useRows: <TRow>(props: UseRowsProps<TRow>) => {
6
- rows: unknown[];
6
+ rows: TRow[];
7
7
  clearRows: () => void;
8
8
  refresh: () => void;
9
9
  setRows: (rows: TRow[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
- "version": "7.1.0",
3
+ "version": "7.1.2-beta.1",
4
4
  "license": "UNLICENSED",
5
5
  "author": "M4L Team*",
6
6
  "type": "module",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@m4l/core": "^2.0.0",
20
- "@m4l/styles": "^7.0.0",
20
+ "@m4l/styles": "7.1.29-beta.1",
21
21
  "@mui/material": "5.16.7",
22
22
  "@mui/x-date-pickers": "6.20.2",
23
23
  "@types/react": "^18.0.0",