@blocklet/pages-kit 0.6.24 → 0.6.26

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.
@@ -31,11 +31,12 @@ const ComponentError = ({ title = 'Component Failed to Load', message, component
31
31
  return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
32
32
  p: 3,
33
33
  border: '1px dashed #d32f2f',
34
- borderRadius: 1,
34
+ // borderRadius: 1,
35
35
  bgcolor: 'rgba(211, 47, 47, 0.04)',
36
36
  display: 'flex',
37
37
  flexDirection: 'column',
38
38
  gap: 1,
39
+ overflow: 'hidden',
39
40
  }, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "subtitle1", sx: { color: '#d32f2f', fontWeight: 500 }, children: title }), (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { color: 'text.secondary' }, children: displayMessage }), error && error.stack && process.env.NODE_ENV !== 'production' && ((0, jsx_runtime_1.jsx)(material_1.Box, { component: "pre", sx: {
40
41
  mt: 2,
41
42
  p: 1,
@@ -25,6 +25,7 @@ function useMuiColorPalette() {
25
25
  },
26
26
  });
27
27
  // 定义调色板配置
28
+ /** @see 注意修改 isMuiColorKey 的正则表达式 */
28
29
  const paletteConfig = [
29
30
  // 特殊颜色组
30
31
  {