grep-components 2.13.0 → 2.14.0-GREPF-2769.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.
@@ -2,7 +2,7 @@ export declare const useStyles: (params: void, muiStyleOverridesParams?: {
2
2
  props: Record<string, unknown>;
3
3
  ownerState?: Record<string, unknown> | undefined;
4
4
  } | undefined) => {
5
- classes: Record<"container" | "title", string>;
5
+ classes: Record<"title" | "container", string>;
6
6
  theme: import("@mui/material").Theme;
7
7
  css: import("tss-react").Css;
8
8
  cx: import("tss-react").Cx;
@@ -2,7 +2,7 @@ export declare const useFooterStyles: (params: void, muiStyleOverridesParams?: {
2
2
  props: Record<string, unknown>;
3
3
  ownerState?: Record<string, unknown> | undefined;
4
4
  } | undefined) => {
5
- classes: Record<"content" | "footer" | "list" | "serviceNameText" | "item" | "itemText" | "itemBtn", string>;
5
+ classes: Record<"footer" | "content" | "list" | "serviceNameText" | "item" | "itemText" | "itemBtn", string>;
6
6
  theme: import("@mui/material").Theme;
7
7
  css: import("tss-react").Css;
8
8
  cx: import("tss-react").Cx;
@@ -2,7 +2,7 @@ export declare const useStyles: (params: void, muiStyleOverridesParams?: {
2
2
  props: Record<string, unknown>;
3
3
  ownerState?: Record<string, unknown> | undefined;
4
4
  } | undefined) => {
5
- classes: Record<"content" | "container" | "body" | "title" | "icon", string>;
5
+ classes: Record<"body" | "title" | "content" | "container" | "icon", string>;
6
6
  theme: import("@mui/material").Theme;
7
7
  css: import("tss-react").Css;
8
8
  cx: import("tss-react").Cx;
@@ -2,7 +2,7 @@ export declare const useStyles: (params: void, muiStyleOverridesParams?: {
2
2
  props: Record<string, unknown>;
3
3
  ownerState?: Record<string, unknown> | undefined;
4
4
  } | undefined) => {
5
- classes: Record<"container" | "link" | "current", string>;
5
+ classes: Record<"link" | "container" | "current", string>;
6
6
  theme: import("@mui/material").Theme;
7
7
  css: import("tss-react").Css;
8
8
  cx: import("tss-react").Cx;
@@ -2,7 +2,7 @@ export declare const useStyles: (params: void, muiStyleOverridesParams?: {
2
2
  props: Record<string, unknown>;
3
3
  ownerState?: Record<string, unknown> | undefined;
4
4
  } | undefined) => {
5
- classes: Record<"container" | "title", string>;
5
+ classes: Record<"title" | "container", string>;
6
6
  theme: import("@mui/material").Theme;
7
7
  css: import("tss-react").Css;
8
8
  cx: import("tss-react").Cx;
@@ -2,7 +2,7 @@ export declare const useStyles: (params: void, muiStyleOverridesParams?: {
2
2
  props: Record<string, unknown>;
3
3
  ownerState?: Record<string, unknown> | undefined;
4
4
  } | undefined) => {
5
- classes: Record<"container" | "text" | "selected" | "icon" | "item", string>;
5
+ classes: Record<"text" | "container" | "selected" | "icon" | "item", string>;
6
6
  theme: import("@mui/material").Theme;
7
7
  css: import("tss-react").Css;
8
8
  cx: import("tss-react").Cx;
package/dist/index.js CHANGED
@@ -923,6 +923,7 @@ const useMuiThemeStyleOverridesPlugin = ({ classes, theme, muiStyleOverridesPara
923
923
  return { classes };
924
924
  };
925
925
 
926
+ const useContextualCache = __unsafe_useEmotionCache;
926
927
  let counter$1 = 0;
927
928
  function createMakeStyles(params) {
928
929
  const { useTheme, cache: cacheProvidedAtInception } = params;
@@ -1026,7 +1027,7 @@ const { createUseCache } = (() => {
1026
1027
  const { cacheProvidedAtInception } = params;
1027
1028
  function useCache() {
1028
1029
  var _a;
1029
- const contextualCache = __unsafe_useEmotionCache();
1030
+ const contextualCache = useContextualCache();
1030
1031
  const cacheExplicitlyProvidedForTss = useCacheProvidedByProvider();
1031
1032
  const cacheToBeUsed = (_a = cacheProvidedAtInception !== null && cacheProvidedAtInception !== void 0 ? cacheProvidedAtInception : cacheExplicitlyProvidedForTss) !== null && _a !== void 0 ? _a : contextualCache;
1032
1033
  if (cacheToBeUsed === null) {