Version 1.0.2 mit node_modules Verzeichnis

This commit is contained in:
ISA
2024-10-02 07:58:24 +02:00
parent f353a06b1b
commit 62b6e55a0a
68228 changed files with 4548477 additions and 651 deletions

View File

@@ -0,0 +1,6 @@
import * as React from 'react';
const ThemeContext = /*#__PURE__*/React.createContext(null);
if (process.env.NODE_ENV !== 'production') {
ThemeContext.displayName = 'ThemeContext';
}
export default ThemeContext;

View File

@@ -0,0 +1,2 @@
export { default } from './useTheme';
export * from './useTheme';

1
node_modules/@mui/private-theming/useTheme/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from "./useTheme.js";

View File

@@ -0,0 +1,6 @@
{
"sideEffects": false,
"module": "./index.js",
"main": "../node/useTheme/index.js",
"types": "./index.d.ts"
}

View File

@@ -0,0 +1,3 @@
import { DefaultTheme } from '../defaultTheme';
export default function useTheme<T = DefaultTheme>(): T;

11
node_modules/@mui/private-theming/useTheme/useTheme.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import * as React from 'react';
import ThemeContext from "./ThemeContext.js";
export default function useTheme() {
const theme = React.useContext(ThemeContext);
if (process.env.NODE_ENV !== 'production') {
// TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
// eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
React.useDebugValue(theme);
}
return theme;
}