@m4l/layouts 9.1.9 → 9.1.10
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/constants.d.ts +21 -0
- package/.storybook/decorators/WithContexts/WithContexts.d.ts +5 -0
- package/.storybook/decorators/WithContexts/constants.d.ts +10 -0
- package/.storybook/decorators/WithContexts/index.d.ts +1 -0
- package/.storybook/decorators/WithContexts/styles.d.ts +1 -0
- package/.storybook/decorators/WithContexts/subcomponents/AppWithTheme.d.ts +6 -0
- package/.storybook/decorators/WithContexts/types.d.ts +7 -0
- package/.storybook/decorators/index.d.ts +1 -0
- package/.storybook/main.d.ts +3 -0
- package/.storybook/storybook.vite.d.ts +2 -0
- package/.storybook/utils/getGlobalsFromSearchParams.d.ts +7 -0
- package/.storybook/utils/getStylesColorsByMode.d.ts +744 -0
- package/components/MFHostApp/MFHostApp.d.ts +6 -0
- package/components/MFHostApp/MFHostApp.js +59 -0
- package/components/MFHostApp/index.d.ts +2 -6
- package/components/MFHostApp/index.js +1 -60
- package/components/MFHostApp/types.d.ts +4 -1
- package/components/MFNoAuthApp/index.js +3 -4
- package/components/MFNoAuthApp/types.d.ts +4 -1
- package/components/ModuleDetailTabs/ModuleDetailTabs.d.ts +5 -0
- package/components/ModuleDetailTabs/ModuleDetailTabs.js +42 -0
- package/components/ModuleDetailTabs/index.d.ts +2 -0
- package/components/ModuleDetailTabs/index.js +1 -0
- package/components/ModuleDetailTabs/types.d.ts +88 -0
- package/components/ModuleDetailTabs/useModuleDatailTabs.d.ts +308 -0
- package/components/ModuleDetailTabs/useModuleDatailTabs.js +86 -0
- package/components/index.d.ts +3 -2
- package/hooks/index.d.ts +1 -0
- package/hooks/useDynamicAccordions/index.d.ts +2 -0
- package/hooks/useDynamicAccordions/index.js +1 -0
- package/hooks/useDynamicAccordions/types.d.ts +42 -0
- package/hooks/useDynamicAccordions/useBaseAccordions.d.ts +5 -0
- package/hooks/useDynamicAccordions/useBaseAccordions.js +38 -0
- package/hooks/useDynamicAccordions/useDynamicAccordions.d.ts +6 -0
- package/hooks/useDynamicAccordions/useDynamicAccordions.js +18 -0
- package/hooks/useMasterDetail/index.d.ts +1 -1
- package/index.d.ts +1 -0
- package/index.js +14 -9
- package/layouts/MasterDetailLayout/MasterDetailLayout.js +6 -6
- package/layouts/MasterDetailLayout/dicctionary.js +2 -11
- package/layouts/MasterDetailLayout/index.d.ts +2 -0
- package/layouts/MasterDetailLayout/index.js +1 -0
- package/layouts/ModuleLayout/ModuleLayout.js +4 -0
- package/layouts/ModuleLayout/slots/ModuleLayoutSlots.d.ts +1 -1
- package/layouts/ModuleLayout/subcomponents/BaseModuleLayout/index.js +2 -1
- package/layouts/ModuleLayout/subcomponents/BaseModuleLayout/types.d.ts +1 -0
- package/layouts/ModuleLayout/types.d.ts +1 -0
- package/layouts/NoAuthModuleLayout/slots/NoAuthModuleLayoutSlots.d.ts +18 -18
- package/layouts/index.d.ts +1 -2
- package/package.json +2 -6
- package/storybook/layouts/ModuleLayout/ModuleLayout.stories.d.ts +6 -0
- package/storybook/layouts/ModuleLayout/moks/mokData.d.ts +14 -0
- package/storybook/layouts/ModuleLayout/subcomponents/ClientsHeaderActions.d.ts +4 -0
- package/storybook/layouts/ModuleLayout/subcomponents/RenderModuleLayout.d.ts +6 -0
- package/storybook/layouts/ModuleLayout/subcomponents/UsersHeaderActions.d.ts +4 -0
- package/storybook/layouts/ModuleLayout/subcomponents/WithExtendedContainer.d.ts +5 -0
- package/storybook/layouts/NoAuthModuleLayout/NoAuthModuleLayout.stories.d.ts +9 -0
- package/utils/createAppMF.d.ts +13 -0
- package/utils/createAppMF.js +58 -0
- package/utils/index.d.ts +1 -0
- package/utils/index.js +1 -0
- package/vite-env.d.ts +19 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ThemeUserColor } from '@m4l/styles';
|
|
2
|
+
export declare const MODES: {
|
|
3
|
+
light: string;
|
|
4
|
+
dark: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const MODES_BACKGROUNDS: Record<keyof Omit<typeof MODES, 'both'>, string>;
|
|
7
|
+
export declare const MODES_ITEMS: {
|
|
8
|
+
value: string;
|
|
9
|
+
title: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const DEVICE_TYPES: {
|
|
12
|
+
automatic: string;
|
|
13
|
+
mobile: string;
|
|
14
|
+
desktop: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const DEVICE_TYPES_ITEMS: {
|
|
17
|
+
value: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}[];
|
|
20
|
+
export declare const COLORS_THEME: Record<ThemeUserColor, ThemeUserColor>;
|
|
21
|
+
export declare const COLORS_THEME_ITEMS: Record<string, string>[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const USER: string;
|
|
2
|
+
export declare const PWD: string;
|
|
3
|
+
export declare const DATABASE = "";
|
|
4
|
+
export declare const ENVIRONMENT_ASSETS: string;
|
|
5
|
+
export declare const HOST_API_LOCAL: string;
|
|
6
|
+
export declare const HOST_API_REMOTE: string;
|
|
7
|
+
export declare const HOST_STATIC_ASSETS: string;
|
|
8
|
+
export declare const DOMAIN_TOKEN: string;
|
|
9
|
+
export declare const STORYBOOK_MODULE_ID: string;
|
|
10
|
+
export declare const STORYBOOK_ISOLATION_MODULE_ID: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './WithContexts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RootStyle: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AppThemeProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* AppWithTheme es un componente que se encarga de proveer el contexto de tema a la aplicación.
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
export declare const AppWithTheme: ({ themeMode, themeColor, children }: AppThemeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './WithContexts';
|