@m4l/graphics 6.0.3 → 7.0.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.
@@ -4,7 +4,7 @@ declare const HostThemeContext: import('react').Context<import('./types').HostTh
4
4
  * Host theme provider
5
5
  * @author Juan Escobar - automatic
6
6
  * @createdAt 2024-10-06 20:07:18 - automatic
7
- * @updatedAt 2024-10-08 13:22:53 - automatic
7
+ * @updatedAt 2024-10-08 19:28:36 - automatic
8
8
  * @updatedUser Juan Escobar - automatic
9
9
  */
10
10
  declare function HostThemeProvider(props: HostThemeProviderProps): import("react").JSX.Element;
@@ -12,7 +12,7 @@ declare const ResponsiveContainerContext: import('react').Context<(Omit<Omit<imp
12
12
  * Proveedor de contenedor responsivo
13
13
  * @author Juan Escobar - automatic
14
14
  * @createdAt 2024-10-06 20:07:18 - automatic
15
- * @updatedAt 2024-10-08 13:22:54 - automatic
15
+ * @updatedAt 2024-10-08 19:03:38 - automatic
16
16
  * @updatedUser Juan Escobar - automatic
17
17
  */
18
18
  declare const ResponsiveContainerProvider: (props: ResponsiveContainerProviderProps) => import("react").JSX.Element;
@@ -12,7 +12,7 @@ declare const ThemeSettingsContext: import('react').Context<(Omit<Omit<import('z
12
12
  * Theme settings provider
13
13
  * @author Juan Escobar - automatic
14
14
  * @createdAt 2024-10-06 20:07:18 - automatic
15
- * @updatedAt 2024-10-08 13:22:54 - automatic
15
+ * @updatedAt 2024-10-08 19:28:36 - automatic
16
16
  * @updatedUser Juan Escobar - automatic
17
17
  */
18
18
  declare function ThemeSettingsProvider({ children, themeSettingsForced }: ThemeSettingsProviderProps): import("react").JSX.Element;
@@ -4,7 +4,7 @@ import { WritableDraft } from 'immer/dist/internal';
4
4
  * Crea la tienda de configuración del tema
5
5
  * @author Juan Escobar - automatic
6
6
  * @createdAt 2024-10-06 20:07:18 - automatic
7
- * @updatedAt 2024-10-08 13:22:54 - automatic
7
+ * @updatedAt 2024-10-08 19:28:36 - automatic
8
8
  * @updatedUser Juan Escobar - automatic
9
9
  */
10
10
  export declare const createThemeSettingsStore: (initialState: InitialThemeSettingsStoreProps) => Omit<Omit<import('zustand').StoreApi<ThemeSettingsStateWithActions>, "setState"> & {
@@ -46,7 +46,7 @@ const n = (r) => {
46
46
  * Inicializa la tienda de configuración del tema
47
47
  * @author Juan Escobar - automatic
48
48
  * @createdAt 2024-10-06 20:07:18 - automatic
49
- * @updatedAt 2024-10-08 13:22:54 - automatic
49
+ * @updatedAt 2024-10-08 19:28:36 - automatic
50
50
  * @updatedUser Juan Escobar - automatic
51
51
  */
52
52
  init: () => {
@@ -58,7 +58,7 @@ const n = (r) => {
58
58
  * Establece la configuración del tema
59
59
  * @author Juan Escobar - automatic
60
60
  * @createdAt 2024-10-06 20:07:18 - automatic
61
- * @updatedAt 2024-10-08 13:22:54 - automatic
61
+ * @updatedAt 2024-10-08 19:28:36 - automatic
62
62
  * @updatedUser Juan Escobar - automatic
63
63
  */
64
64
  setThemeSettings: (t) => {
@@ -70,7 +70,7 @@ const n = (r) => {
70
70
  * Cambia el modo del tema
71
71
  * @author Juan Escobar - automatic
72
72
  * @createdAt 2024-10-06 20:07:18 - automatic
73
- * @updatedAt 2024-10-08 13:22:54 - automatic
73
+ * @updatedAt 2024-10-08 19:28:36 - automatic
74
74
  * @updatedUser Juan Escobar - automatic
75
75
  */
76
76
  onChangeMode: (t) => {
@@ -85,7 +85,7 @@ const n = (r) => {
85
85
  * Abre o cierra el panel de configuración del tema
86
86
  * @author Juan Escobar - automatic
87
87
  * @createdAt 2024-10-06 20:07:18 - automatic
88
- * @updatedAt 2024-10-08 13:22:54 - automatic
88
+ * @updatedAt 2024-10-08 19:28:36 - automatic
89
89
  * @updatedUser Juan Escobar - automatic
90
90
  */
91
91
  handleOpen: () => {
@@ -97,7 +97,7 @@ const n = (r) => {
97
97
  * Cambia la dirección del tema
98
98
  * @author Juan Escobar - automatic
99
99
  * @createdAt 2024-10-06 20:07:18 - automatic
100
- * @updatedAt 2024-10-08 13:22:54 - automatic
100
+ * @updatedAt 2024-10-08 19:28:36 - automatic
101
101
  * @updatedUser Juan Escobar - automatic
102
102
  */
103
103
  onChangeDirection: (t) => {
@@ -112,7 +112,7 @@ const n = (r) => {
112
112
  * Cambia el color del tema
113
113
  * @author Juan Escobar - automatic
114
114
  * @createdAt 2024-10-06 20:07:18 - automatic
115
- * @updatedAt 2024-10-08 13:22:54 - automatic
115
+ * @updatedAt 2024-10-08 19:28:36 - automatic
116
116
  * @updatedUser Juan Escobar - automatic
117
117
  */
118
118
  onChangeColor: (t) => {
@@ -127,7 +127,7 @@ const n = (r) => {
127
127
  * Cambia el diseño del tema
128
128
  * @author Juan Escobar - automatic
129
129
  * @createdAt 2024-10-06 20:07:18 - automatic
130
- * @updatedAt 2024-10-08 13:22:54 - automatic
130
+ * @updatedAt 2024-10-08 19:28:36 - automatic
131
131
  * @updatedUser Juan Escobar - automatic
132
132
  */
133
133
  onChangeLayout: (t) => {
@@ -142,7 +142,7 @@ const n = (r) => {
142
142
  * Cambia el estiramiento del tema
143
143
  * @author Juan Escobar - automatic
144
144
  * @createdAt 2024-10-06 20:07:18 - automatic
145
- * @updatedAt 2024-10-08 13:22:54 - automatic
145
+ * @updatedAt 2024-10-08 19:28:36 - automatic
146
146
  * @updatedUser Juan Escobar - automatic
147
147
  */
148
148
  onToggleStretch: () => {
@@ -157,7 +157,7 @@ const n = (r) => {
157
157
  * Resetea la configuración del tema
158
158
  * @author Juan Escobar - automatic
159
159
  * @createdAt 2024-10-06 20:07:18 - automatic
160
- * @updatedAt 2024-10-08 13:22:54 - automatic
160
+ * @updatedAt 2024-10-08 19:28:36 - automatic
161
161
  * @updatedUser Juan Escobar - automatic
162
162
  */
163
163
  onResetSetting: () => {
@@ -37,7 +37,7 @@ export interface ThemeSettingsStore {
37
37
  * Solo se instancia cuando esta en host, cuando esta storybook no se instancia
38
38
  * @author Juan Escobar - automatic
39
39
  * @createdAt 2024-10-06 20:07:18 - automatic
40
- * @updatedAt 2024-10-08 13:26:41 - automatic
40
+ * @updatedAt 2024-10-08 19:28:36 - automatic
41
41
  * @updatedUser Juan Escobar - automatic
42
42
  */
43
43
  themeSettingsPersistFn?: (newValue: ThemeUserSettings) => void;
@@ -1,9 +1,9 @@
1
1
  import { DependencyList } from 'react';
2
2
  /**
3
- * Hook to use the first render
3
+ * Hook to use the first render .
4
4
  * @author Juan Escobar - automatic
5
5
  * @createdAt 2024-10-06 20:07:18 - automatic
6
- * @updatedAt 2024-10-06 20:07:18 - automatic
6
+ * @updatedAt 2024-10-09 13:39:06 - automatic
7
7
  * @updatedUser Juan Escobar - automatic
8
8
  */
9
9
  export declare function useFirstRender(dependencies?: DependencyList): boolean;
@@ -2,7 +2,7 @@
2
2
  * Hook to check if the device is a mobile device
3
3
  * @author Juan Escobar - automatic
4
4
  * @createdAt 2024-10-06 20:07:18 - automatic
5
- * @updatedAt 2024-10-08 13:22:54 - automatic
5
+ * @updatedAt 2024-10-08 19:28:36 - automatic
6
6
  * @updatedUser Juan Escobar - automatic
7
7
  */
8
8
  export declare const useIsMobile: (isMobileForced?: boolean) => boolean;
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
- "version": "6.0.3",
3
+ "version": "7.0.1",
4
4
  "license": "UNLICENSED",
5
5
  "author": "M4L Team*",
6
+ "type": "module",
6
7
  "publishConfig": {
7
8
  "access": "public"
8
9
  },
9
10
  "lint-staged": {
10
- "**/*.{js,jsx,ts,tsx,json}": [
11
- "eslint . --fix"
12
- ]
11
+ "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
13
12
  },
14
13
  "dependencies": {
15
14
  "date-fns": "^2.30.0",
@@ -18,7 +17,7 @@
18
17
  },
19
18
  "peerDependencies": {
20
19
  "@m4l/core": "^2.0.9",
21
- "@m4l/styles": "^7.0.0",
20
+ "@m4l/styles": "^7.0.1",
22
21
  "@mui/material": "^5.15.19",
23
22
  "@mui/x-date-pickers": "^6.11.1",
24
23
  "@types/react": "^18.0.0",
@@ -75,7 +74,6 @@
75
74
  "source": "./index.js",
76
75
  "main": "./index.js",
77
76
  "module": "./index.js",
78
- "type": "module",
79
77
  "types": "./index.d.ts",
80
78
  "sideEffects": false,
81
79
  "engines": {