@m4l/layouts 9.3.14-beta.1 → 9.3.15-JT01122025.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.
- package/.storybook/utils/getStylesColorsByMode.d.ts +8 -0
- package/components/ModuleDetailTabs/useModuleDatailTabs.d.ts +2 -2
- package/hooks/useFormAddEdit/index.d.ts +1 -0
- package/hooks/useNetworkActionConfirm/index.d.ts +1 -0
- package/layouts/MasterDetailLayout/slots/MasterDetailLayoutSlot.d.ts +1 -1
- package/layouts/MasterDetailLayout/slots/MasterDetailLayoutSlot.js +1 -1
- package/layouts/ModuleLayout/contexts/ModuleContext/store.js +4 -4
- package/layouts/NoAuthModuleLayout/constants.d.ts +1 -1
- package/package.json +2 -2
|
@@ -50,6 +50,7 @@ export declare const colorsLight: {
|
|
|
50
50
|
readonly primary: string;
|
|
51
51
|
readonly secondary: string;
|
|
52
52
|
readonly disabled: string;
|
|
53
|
+
readonly contrastText: string;
|
|
53
54
|
};
|
|
54
55
|
readonly background: {
|
|
55
56
|
readonly default: string;
|
|
@@ -59,6 +60,7 @@ export declare const colorsLight: {
|
|
|
59
60
|
readonly backdrop: string;
|
|
60
61
|
readonly base: string;
|
|
61
62
|
readonly blur: string;
|
|
63
|
+
readonly contrastDefault: string;
|
|
62
64
|
readonly paper: "#fff";
|
|
63
65
|
};
|
|
64
66
|
readonly chips: {
|
|
@@ -254,6 +256,7 @@ export declare const colorsLight: {
|
|
|
254
256
|
readonly primary: string;
|
|
255
257
|
readonly secondary: string;
|
|
256
258
|
readonly disabled: string;
|
|
259
|
+
readonly contrastText: string;
|
|
257
260
|
};
|
|
258
261
|
readonly divider: string;
|
|
259
262
|
readonly background: {
|
|
@@ -264,6 +267,7 @@ export declare const colorsLight: {
|
|
|
264
267
|
readonly backdrop: string;
|
|
265
268
|
readonly base: string;
|
|
266
269
|
readonly blur: string;
|
|
270
|
+
readonly contrastDefault: string;
|
|
267
271
|
readonly paper: "#000";
|
|
268
272
|
};
|
|
269
273
|
readonly chips: {
|
|
@@ -461,6 +465,7 @@ export declare const colorsDark: {
|
|
|
461
465
|
readonly primary: string;
|
|
462
466
|
readonly secondary: string;
|
|
463
467
|
readonly disabled: string;
|
|
468
|
+
readonly contrastText: string;
|
|
464
469
|
};
|
|
465
470
|
readonly background: {
|
|
466
471
|
readonly default: string;
|
|
@@ -470,6 +475,7 @@ export declare const colorsDark: {
|
|
|
470
475
|
readonly backdrop: string;
|
|
471
476
|
readonly base: string;
|
|
472
477
|
readonly blur: string;
|
|
478
|
+
readonly contrastDefault: string;
|
|
473
479
|
readonly paper: "#fff";
|
|
474
480
|
};
|
|
475
481
|
readonly chips: {
|
|
@@ -665,6 +671,7 @@ export declare const colorsDark: {
|
|
|
665
671
|
readonly primary: string;
|
|
666
672
|
readonly secondary: string;
|
|
667
673
|
readonly disabled: string;
|
|
674
|
+
readonly contrastText: string;
|
|
668
675
|
};
|
|
669
676
|
readonly divider: string;
|
|
670
677
|
readonly background: {
|
|
@@ -675,6 +682,7 @@ export declare const colorsDark: {
|
|
|
675
682
|
readonly backdrop: string;
|
|
676
683
|
readonly base: string;
|
|
677
684
|
readonly blur: string;
|
|
685
|
+
readonly contrastDefault: string;
|
|
678
686
|
readonly paper: "#000";
|
|
679
687
|
};
|
|
680
688
|
readonly chips: {
|
|
@@ -152,7 +152,7 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
|
|
|
152
152
|
onBlurCapture?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
|
|
153
153
|
onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
154
154
|
onChangeCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
155
|
-
onBeforeInput?: import('react').
|
|
155
|
+
onBeforeInput?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
156
156
|
onBeforeInputCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
157
157
|
onInput?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
158
158
|
onInputCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -292,6 +292,7 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
|
|
|
292
292
|
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
|
|
293
293
|
onTransitionEnd?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
|
|
294
294
|
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
|
|
295
|
+
ariaLabel?: string | undefined;
|
|
295
296
|
dataTestId?: string | undefined;
|
|
296
297
|
centerRipple?: boolean | undefined;
|
|
297
298
|
disableRipple?: boolean | undefined;
|
|
@@ -303,7 +304,6 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
|
|
|
303
304
|
TouchRippleProps?: Partial<import('@mui/material/ButtonBase/TouchRipple').TouchRippleProps> | undefined;
|
|
304
305
|
touchRippleRef?: React.Ref<import('@mui/material/ButtonBase/TouchRipple').TouchRippleActions> | undefined;
|
|
305
306
|
disableFocusRipple?: boolean | undefined;
|
|
306
|
-
ariaLabel?: string | undefined;
|
|
307
307
|
iconPosition?: "top" | "bottom" | "start" | "end" | undefined;
|
|
308
308
|
wrapped?: boolean | undefined;
|
|
309
309
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MasterDetailLayoutRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material
|
|
1
|
+
export declare const MasterDetailLayoutRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import styled from "@mui/material/styles/styled";
|
|
2
2
|
import { M as MASTER_DETAIL_LAYOUT_PREFIX } from "../constants.js";
|
|
3
3
|
import { M as MasterDetailLayoutSlots } from "./MasterDetailLayoutEnum.js";
|
|
4
4
|
import { m as masterDetailLayoutStyles } from "../styles.js";
|
|
@@ -17,7 +17,7 @@ const createModuleLayoutStore = (initProps, storeDevtoolsEnabled = false) => {
|
|
|
17
17
|
},
|
|
18
18
|
dynamicActions: [],
|
|
19
19
|
finalModuleActions: [],
|
|
20
|
-
moduleActions: [],
|
|
20
|
+
moduleActions: moduleActions || [],
|
|
21
21
|
version,
|
|
22
22
|
buildTime
|
|
23
23
|
};
|
|
@@ -30,7 +30,7 @@ const createModuleLayoutStore = (initProps, storeDevtoolsEnabled = false) => {
|
|
|
30
30
|
*/
|
|
31
31
|
init: () => {
|
|
32
32
|
set((state) => {
|
|
33
|
-
state.finalModuleActions = (moduleActions || []).concat(state.dynamicActions);
|
|
33
|
+
state.finalModuleActions = (state.moduleActions || []).concat(state.dynamicActions);
|
|
34
34
|
});
|
|
35
35
|
},
|
|
36
36
|
/**
|
|
@@ -38,7 +38,7 @@ const createModuleLayoutStore = (initProps, storeDevtoolsEnabled = false) => {
|
|
|
38
38
|
*/
|
|
39
39
|
updateDynamicActions: (dynamicActions) => {
|
|
40
40
|
set((state) => {
|
|
41
|
-
const actionsConcatenated = (moduleActions || []).concat(dynamicActions);
|
|
41
|
+
const actionsConcatenated = (state.moduleActions || []).concat(dynamicActions);
|
|
42
42
|
state.dynamicActions = dynamicActions;
|
|
43
43
|
state.finalModuleActions = actionsConcatenated;
|
|
44
44
|
setActions(actionsConcatenated, state.version, state.buildTime);
|
|
@@ -49,8 +49,8 @@ const createModuleLayoutStore = (initProps, storeDevtoolsEnabled = false) => {
|
|
|
49
49
|
*/
|
|
50
50
|
updateModuleActions: (newModuleActions) => {
|
|
51
51
|
set((state) => {
|
|
52
|
+
state.moduleActions = newModuleActions;
|
|
52
53
|
const actionsConcatenated = newModuleActions.concat(state.dynamicActions);
|
|
53
|
-
state.moduleActions = moduleActions;
|
|
54
54
|
state.finalModuleActions = actionsConcatenated;
|
|
55
55
|
setActions(actionsConcatenated, state.version, state.buildTime);
|
|
56
56
|
});
|
|
@@ -13,4 +13,4 @@ export declare const DICTIONARY_KEYS: {
|
|
|
13
13
|
label_home_navigation: string;
|
|
14
14
|
};
|
|
15
15
|
export declare const DEFAULT_HOME_PATH = "/auth/login";
|
|
16
|
-
export declare const NO_AUTH_MODULE_LAYOUT_CLASSES: Record<
|
|
16
|
+
export declare const NO_AUTH_MODULE_LAYOUT_CLASSES: Record<"headerContainer" | "buttonHomeNavigation" | "containerModuleName" | "wrapperFormContent" | "containerLanguageAndSettings" | "containerCompanyLogo" | "desktopBanner" | "contentFormDesktop" | "baseNoAuthModuleLayoutRoot" | "formContent", string>;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/layouts",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.15-JT01122025.beta.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": "M4L Team",
|
|
6
6
|
"lint-staged": {
|
|
7
7
|
"*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@m4l/components": "
|
|
10
|
+
"@m4l/components": "9.3.34-BE20251126-beta.1",
|
|
11
11
|
"@m4l/core": "^2.0.0",
|
|
12
12
|
"@m4l/graphics": "^7.0.0",
|
|
13
13
|
"@m4l/styles": "^7.0.0"
|