@m4l/graphics 0.0.3 → 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.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { HostThemeProviderProps } from './types';
3
- declare const HostThemeContext: import("react").Context<import("./types").ThemeType>;
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 ThemeType {
4
+ export interface HostThemeType {
5
5
  hostThemeOptions: ThemeOptions;
6
6
  fnComponentsOverrides: (theme: Theme) => any;
7
7
  }
8
- export interface HostThemeProviderProps extends ThemeType {
8
+ export interface HostThemeProviderProps extends HostThemeType {
9
9
  isMicroFrontEnd: boolean;
10
10
  children: ReactNode;
11
11
  }
12
- export declare type HostThemeContextType = ThemeType;
12
+ export declare type HostThemeContextType = HostThemeType;
@@ -1,4 +1,5 @@
1
1
  export * from './ModalContext';
2
2
  export * from './LocalesContext';
3
3
  export * from './HostThemeContext';
4
+ export type { HostThemeType } from './HostThemeContext/types';
4
5
  export { HelmetProvider } from 'react-helmet-async';
@@ -1 +1 @@
1
- export declare const useHostTheme: () => import("../contexts/HostThemeContext/types").ThemeType;
1
+ export declare const useHostTheme: () => import("..").HostThemeType;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
3
  "private": false,
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "license": "UNLICENSED",
6
6
  "author": "M4L Team",
7
7
  "scripts": {