@m4l/graphics 0.0.21 → 0.0.22
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/{lib/components → components}/Page/index.d.ts +0 -0
- package/dist/{lib/components → components}/Page/types.d.ts +0 -0
- package/dist/{lib/components → components}/ProgressBarStyle/index.d.ts +0 -0
- package/dist/{lib/components → components}/index.d.ts +0 -0
- package/dist/{lib/contexts → contexts}/HostThemeContext/index.d.ts +0 -0
- package/dist/contexts/HostThemeContext/types.d.ts +12 -0
- package/dist/{lib/contexts → contexts}/LocalesContext/index.d.ts +0 -0
- package/dist/{lib/contexts → contexts}/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useHostTheme/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useIsMountedRef.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useLocales/index.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useOffSetTop.d.ts +0 -0
- package/dist/{lib/hooks → hooks}/useResponsive/index.d.ts +0 -0
- package/dist/index.d.ts +10 -3
- package/dist/{lib/theme → theme}/defaultThemeOptions.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Accordion.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Autocomplete.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Avatar.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Backdrop.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Badge.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Breadcrumbs.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Button.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/ButtonGroup.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Card.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Checkbox.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/ControlLabel.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/CssBaseline.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/DataGrid.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Dialog.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Drawer.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Fab.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/IconButton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Input.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/InputLabel.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Link.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/List.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/LoadingButton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Menu.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Pagination.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Paper.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Popover.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Progress.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Radio.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Skeleton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Slider.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Stepper.d.ts +0 -0
- package/dist/theme/overrides/SvgIcon.d.ts +17 -0
- package/dist/{lib/theme → theme}/overrides/Switch.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Table.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Tabs.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Timeline.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/ToggleButton.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Tooltip.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/Typography.d.ts +0 -0
- package/dist/{lib/theme → theme}/overrides/index.d.ts +0 -0
- package/dist/{lib/theme → theme}/palette.d.ts +0 -0
- package/dist/{lib/theme → theme}/shadows.d.ts +0 -0
- package/dist/{lib/theme → theme}/typography.d.ts +0 -0
- package/dist/{lib/types → types}/index.d.ts +0 -0
- package/dist/{lib/utils → utils}/getColorPresets.d.ts +0 -0
- package/dist/{lib/utils → utils}/getFontValue.d.ts +0 -0
- package/package.json +3 -3
- package/dist/lib/index.d.ts +0 -10
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ThemeOptions, Theme } from '@mui/material/styles';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export declare type EventFunListener = (...args: any[]) => void;
|
|
4
|
+
export interface HostThemeType {
|
|
5
|
+
hostThemeOptions: ThemeOptions;
|
|
6
|
+
fnComponentsOverrides: (theme: Theme) => any;
|
|
7
|
+
}
|
|
8
|
+
export interface HostThemeProviderProps extends HostThemeType {
|
|
9
|
+
isMicroFrontEnd: boolean;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare type HostThemeContextType = HostThemeType;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export * from './
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './contexts';
|
|
3
|
+
export * from './hooks';
|
|
4
|
+
export type { CustomShadowOptions } from './theme/shadows';
|
|
5
|
+
export type { GradientsPaletteOptions } from './theme/palette';
|
|
6
|
+
export type { ChartPaletteOptions } from './theme/palette';
|
|
7
|
+
export type { GridPaletteOptions } from './theme/palette';
|
|
8
|
+
export { defaultThemeOptions } from './theme/defaultThemeOptions';
|
|
9
|
+
export { default as fnComponentsOverrides } from './theme/overrides';
|
|
10
|
+
export type { HostThemeType } from './types';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
export default function SvgIcon(_theme: Theme): {
|
|
3
|
+
MuiSvgIcon: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
fontSizeSmall: {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
fontSize: string;
|
|
9
|
+
};
|
|
10
|
+
fontSizeLarge: {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
fontSize: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
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.22",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "M4L Team",
|
|
7
7
|
"scripts": {
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"vite-tsconfig-paths": "^3.5.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@m4l/core": "^0.0.
|
|
31
|
+
"@m4l/core": "^0.0.29",
|
|
32
32
|
"react": ">=18",
|
|
33
33
|
"react-dom": "^18.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@emotion/styled": "^11.9.3",
|
|
37
37
|
"@hookform/resolvers": "^2.9.3",
|
|
38
|
-
"@m4l/core": "^0.0.
|
|
38
|
+
"@m4l/core": "^0.0.29",
|
|
39
39
|
"@mui/icons-material": "^5.8.4",
|
|
40
40
|
"@mui/lab": "^5.0.0-alpha.87",
|
|
41
41
|
"@types/node": "^17.0.40",
|
package/dist/lib/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export * from './contexts';
|
|
3
|
-
export * from './hooks';
|
|
4
|
-
export type { CustomShadowOptions } from './theme/shadows';
|
|
5
|
-
export type { GradientsPaletteOptions } from './theme/palette';
|
|
6
|
-
export type { ChartPaletteOptions } from './theme/palette';
|
|
7
|
-
export type { GridPaletteOptions } from './theme/palette';
|
|
8
|
-
export { defaultThemeOptions } from './theme/defaultThemeOptions';
|
|
9
|
-
export { default as fnComponentsOverrides } from './theme/overrides';
|
|
10
|
-
export type { HostThemeType } from './types';
|