@blocklet/pages-kit 0.2.201 → 0.2.202

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.
@@ -53,6 +53,7 @@ win.withQuery = ufo_1.withQuery;
53
53
  win.React = react_2.default;
54
54
  win.Box = material_1.Box;
55
55
  win.Stack = material_1.Stack;
56
+ win.Button = material_1.Button;
56
57
  const CUSTOM_COMPONENT_RENDERER = 'custom-component-renderer';
57
58
  const defineCustomElements = (win) => {
58
59
  if (!win.customElements.get(CUSTOM_COMPONENT_RENDERER)) {
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import createCache from '@emotion/cache';
12
12
  import { CacheProvider } from '@emotion/react';
13
- import { Alert, Box, CssBaseline, Stack } from '@mui/material';
13
+ import { Alert, Box, Button, CssBaseline, Stack } from '@mui/material';
14
14
  import React, { useEffect } from 'react';
15
15
  import ReactDOM from 'react-dom/client';
16
16
  import { ErrorBoundary } from 'react-error-boundary';
@@ -25,6 +25,7 @@ win.withQuery = withQuery;
25
25
  win.React = React;
26
26
  win.Box = Box;
27
27
  win.Stack = Stack;
28
+ win.Button = Button;
28
29
  const CUSTOM_COMPONENT_RENDERER = 'custom-component-renderer';
29
30
  const defineCustomElements = (win) => {
30
31
  if (!win.customElements.get(CUSTOM_COMPONENT_RENDERER)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.2.201",
3
+ "version": "0.2.202",
4
4
  "description": "Pages Kit components and utils",
5
5
  "publishConfig": {
6
6
  "access": "public"