@astral/ui 0.3.1-beta.3 → 0.3.1-beta.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.
@@ -14,9 +14,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.ThemeProvider = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var styles_1 = require("@mui/material/styles");
17
- var GlobalStyles_1 = require("../GlobalStyles");
17
+ var material_1 = require("@mui/material");
18
18
  var ThemeProvider = function (_a) {
19
19
  var theme = _a.theme, children = _a.children;
20
- return ((0, jsx_runtime_1.jsxs)(styles_1.ThemeProvider, __assign({ theme: theme }, { children: [(0, jsx_runtime_1.jsx)(GlobalStyles_1.GlobalStyles, {}, void 0), children] }), void 0));
20
+ return ((0, jsx_runtime_1.jsxs)(styles_1.ThemeProvider, __assign({ theme: theme }, { children: [(0, jsx_runtime_1.jsx)(material_1.CssBaseline, {}, void 0), children] }), void 0));
21
21
  };
22
22
  exports.ThemeProvider = ThemeProvider;
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { ThemeProvider as MuiThemeProvider } from '@mui/material/styles';
14
- import { GlobalStyles } from '../GlobalStyles';
14
+ import { CssBaseline } from '@mui/material';
15
15
  export var ThemeProvider = function (_a) {
16
16
  var theme = _a.theme, children = _a.children;
17
- return (_jsxs(MuiThemeProvider, __assign({ theme: theme }, { children: [_jsx(GlobalStyles, {}, void 0), children] }), void 0));
17
+ return (_jsxs(MuiThemeProvider, __assign({ theme: theme }, { children: [_jsx(CssBaseline, {}, void 0), children] }), void 0));
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "0.3.1-beta.3",
3
+ "version": "0.3.1-beta.4",
4
4
  "type": "module",
5
5
  "source": "./src/index.ts",
6
6
  "jest": {