@m4l/graphics 0.0.1 → 0.0.4
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/dist/index.js
CHANGED
|
@@ -11059,4 +11059,4 @@ function LoadingButton(theme) {
|
|
|
11059
11059
|
function fnComponentsOverrides(theme) {
|
|
11060
11060
|
return Object.assign(Fab(theme), Tabs(theme), Card(theme), Menu(theme), Link(theme), Input(theme), InputLabel(), Radio(theme), Badge(), List(theme), Table(theme), Paper(theme), Switch(theme), Button(theme), IconButton(theme), Dialog(theme), Avatar(theme), Slider(theme), Drawer(theme), Stepper(theme), Tooltip(theme), Popover(theme), SvgIcon(), Checkbox(theme), DataGrid(theme), Skeleton(theme), Timeline(theme), Backdrop(theme), Progress(theme), Accordion(theme), Typography(theme), Pagination(theme), ButtonGroup(theme), Breadcrumbs(theme), CssBaseline(), Autocomplete(theme), ControlLabel(theme), ToggleButton(theme), LoadingButton(theme));
|
|
11061
11061
|
}
|
|
11062
|
-
export { Accordion$1 as Accordion, BooleanFormatter, BoxIcon, Breadcrumbs$2 as Breadcrumbs, DataGrid$1 as DataGrid, DateFormatter, DialogAnimate, FabButtonAnimate, FormActions, FormProvider, HostThemeContext, HostThemeProvider, IconButton$1 as IconButton, IconButtonAnimate, LinkWithRoute, Loadable, LoadingButton$1 as LoadingButton, LocalesContext, LocalesProvider, MasterDetailLayout, MenuActions, MenuPopover, ModalContext, ModalDialog, ModalProvider, ModuleLayout, MotionContainer, MotionInView, MotionLazyContainer, NoAuthModuleLayout, NoItemSelected, ObjectLogs, Page, Pager, PaperForm, ProgressBar, ProgressBarStyle, PropertyValue, RHFAutocompleteAsync, RHFCheckbox, RHFMultiCheckbox, RHFRadioGroup, RHFSelect, RHFTextField, Resizeable, ScrollBar, SplitLayout, TRANSITION, Tab, TextAnimate, Typography$1 as Typography,
|
|
11062
|
+
export { Accordion$1 as Accordion, BooleanFormatter, BoxIcon, Breadcrumbs$2 as Breadcrumbs, DataGrid$1 as DataGrid, DateFormatter, DialogAnimate, FabButtonAnimate, FormActions, FormProvider, HostThemeContext, HostThemeProvider, IconButton$1 as IconButton, IconButtonAnimate, LinkWithRoute, Loadable, LoadingButton$1 as LoadingButton, LocalesContext, LocalesProvider, MasterDetailLayout, MenuActions, MenuPopover, ModalContext, ModalDialog, ModalProvider, ModuleLayout, MotionContainer, MotionInView, MotionLazyContainer, NoAuthModuleLayout, NoItemSelected, ObjectLogs, Page, Pager, PaperForm, ProgressBar, ProgressBarStyle, PropertyValue, RHFAutocompleteAsync, RHFCheckbox, RHFMultiCheckbox, RHFRadioGroup, RHFSelect, RHFTextField, Resizeable, ScrollBar, SplitLayout, TRANSITION, Tab, TextAnimate, Typography$1 as Typography, defaultPagerDictionary, defaultThemeOptions, fnComponentsOverrides, getGridComponentsDictionary, getNoItemSelectedComponentsDictionary, getObjectLogsComponentsDictionary, getPagerComponentsDictionary, useHostTheme, useIsMountedRef, useLocales, useMasterDetail, useModal, useModule, useOffSetTop, usePaginate, useResponsive, useResponsiveDesktop, varBgColor, varBgKenburns, varBgPan, varBounce, varContainer, varFade, varFlip, varHover, varPath, varRotate, varScale, varSlide, varTranEnter, varTranExit, varTranHover, varZoom };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HostThemeProviderProps } from './types';
|
|
3
|
-
declare const HostThemeContext: import("react").Context<import("./types").
|
|
3
|
+
declare const HostThemeContext: import("react").Context<import("./types").HostThemeType>;
|
|
4
4
|
declare function HostThemeProvider(props: HostThemeProviderProps): JSX.Element;
|
|
5
5
|
export { HostThemeProvider, HostThemeContext };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { ThemeOptions, Theme } from '@mui/material/styles';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
export declare type EventFunListener = (...args: any[]) => void;
|
|
4
|
-
export interface
|
|
4
|
+
export interface HostThemeType {
|
|
5
5
|
hostThemeOptions: ThemeOptions;
|
|
6
6
|
fnComponentsOverrides: (theme: Theme) => any;
|
|
7
7
|
}
|
|
8
|
-
export interface HostThemeProviderProps extends
|
|
8
|
+
export interface HostThemeProviderProps extends HostThemeType {
|
|
9
9
|
isMicroFrontEnd: boolean;
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare type HostThemeContextType =
|
|
12
|
+
export declare type HostThemeContextType = HostThemeType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useHostTheme: () => import("
|
|
1
|
+
export declare const useHostTheme: () => import("..").HostThemeType;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export type { GradientsPaletteOptions } from './theme/palette';
|
|
|
7
7
|
export type { ChartPaletteOptions } from './theme/palette';
|
|
8
8
|
export type { GridPaletteOptions } from './theme/palette';
|
|
9
9
|
export { defaultThemeOptions } from './theme/defaultThemeOptions';
|
|
10
|
-
export { default } from './theme/overrides';
|
|
10
|
+
export { default as fnComponentsOverrides } from './theme/overrides';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/graphics",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "M4L Team",
|
|
7
7
|
"scripts": {
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"framer-motion": "^6.3.11",
|
|
19
19
|
"nprogress": "^0.2.0",
|
|
20
|
-
"react": "
|
|
20
|
+
"react": ">=18",
|
|
21
21
|
"react-data-grid": "^7.0.0-beta.13",
|
|
22
22
|
"react-dnd": "^16.0.1",
|
|
23
23
|
"react-dnd-html5-backend": "^16.0.1",
|
|
24
|
+
"react-dom": "^18.0.0",
|
|
24
25
|
"react-draggable": "^4.4.5",
|
|
25
26
|
"react-dropzone": "^14.2.1",
|
|
26
27
|
"react-helmet-async": "^1.3.0",
|
|
@@ -30,13 +31,12 @@
|
|
|
30
31
|
"react-router-dom": "^6.3.0",
|
|
31
32
|
"react-splitter-layout": "^4.0.0",
|
|
32
33
|
"simplebar-react": "^2.4.1",
|
|
33
|
-
"vite-tsconfig-paths": "^3.5.0"
|
|
34
|
-
"react-dom": "^18.0.0"
|
|
34
|
+
"vite-tsconfig-paths": "^3.5.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@emotion/styled": "^11.9.3",
|
|
38
38
|
"@hookform/resolvers": "^2.9.3",
|
|
39
|
-
"@m4l/core": "^0.0.
|
|
39
|
+
"@m4l/core": "^0.0.8",
|
|
40
40
|
"@mui/icons-material": "^5.8.4",
|
|
41
41
|
"@mui/lab": "^5.0.0-alpha.87",
|
|
42
42
|
"@mui/material": "^5.8.5",
|
|
@@ -72,8 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"react": ">=18",
|
|
75
|
-
"react-dom": "^18.0.0"
|
|
76
|
-
"@m4l/core": "^0.0.6"
|
|
75
|
+
"react-dom": "^18.0.0"
|
|
77
76
|
},
|
|
78
77
|
"files": [
|
|
79
78
|
"dist"
|