@blocklet/editor 2.4.100 → 2.4.101

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.
@@ -358,7 +358,7 @@ function CodeHeader({ title, icon, actions }) {
358
358
  p: 1.5,
359
359
  borderBottom: 1,
360
360
  borderColor: 'divider',
361
- bgcolor: 'grey.50',
361
+ bgcolor: 'background.paper',
362
362
  borderRadius: '8px 8px 0 0',
363
363
  }, children: [_jsxs(Box, { sx: { display: 'flex', alignItems: 'center', gap: 1, flex: 1 }, children: [icon && (_jsx(Box, { component: Icon, icon: icon, sx: {
364
364
  fontSize: '16px',
@@ -79,7 +79,7 @@ export default function Field({ name, type, default: defaultVal, required, depre
79
79
  const unsubscribe = highlightManager.subscribe(setHighlightedFieldId);
80
80
  return () => unsubscribe();
81
81
  }, []);
82
- const metaInfo = (_jsxs(_Fragment, { children: [_jsx(Tag, { sx: { backgroundColor: ({ palette }) => alpha(palette.grey[100], 0.6) }, children: type }), isRequired && (_jsx(Tag, { sx: { color: 'error.main', background: ({ palette }) => alpha(palette.error.main, 0.1), fontWeight: 500 }, children: t('required') })), isDeprecated && (_jsx(Tag, { sx: {
82
+ const metaInfo = (_jsxs(_Fragment, { children: [type && _jsx(Tag, { sx: { backgroundColor: ({ palette }) => alpha(palette.grey[100], 0.6) }, children: type }), isRequired && (_jsx(Tag, { sx: { color: 'error.main', background: ({ palette }) => alpha(palette.error.main, 0.1), fontWeight: 500 }, children: t('required') })), isDeprecated && (_jsx(Tag, { sx: {
83
83
  color: 'warning.light',
84
84
  background: ({ palette }) => alpha(palette.warning.light, 0.1),
85
85
  fontWeight: 500,
@@ -130,5 +130,5 @@ export default function Field({ name, type, default: defaultVal, required, depre
130
130
  '& &:last-child': {
131
131
  borderBottom: 'none',
132
132
  },
133
- }, children: [_jsxs(Bar, { children: [_jsx(Box, { sx: { color: 'primary.main', fontWeight: 500 }, children: name }), !isMobile && metaInfo] }), isMobile && _jsx(Bar, { sx: { mt: 1.25 }, children: metaInfo }), desc && _jsx(Box, { sx: { color: 'text.secondary', mt: 2 }, children: desc }), renderChildren()] }));
133
+ }, children: [_jsxs(Bar, { children: [name && _jsx(Box, { sx: { color: 'primary.main', fontWeight: 500 }, children: name }), !isMobile && metaInfo] }), isMobile && _jsx(Bar, { sx: { mt: 1.25 }, children: metaInfo }), desc && _jsx(Box, { sx: { color: 'text.secondary', mt: 2 }, children: desc }), renderChildren()] }));
134
134
  }
@@ -125,7 +125,7 @@ const StyledEditorWrapper = styled(Box) `
125
125
  background-color: ${({ theme }) => theme.palette.grey[100]} !important;
126
126
  }
127
127
  .PlaygroundEditorTheme__tableCellHeader {
128
- background-color: ${({ theme }) => theme.palette.grey[50]} !important;
128
+ background-color: ${({ theme }) => theme.palette.background.paper} !important;
129
129
  }
130
130
 
131
131
  @container blocklet-editor (max-width: 1000px) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/editor",
3
- "version": "2.4.100",
3
+ "version": "2.4.101",
4
4
  "main": "lib/index.js",
5
5
  "sideEffects": false,
6
6
  "publishConfig": {
@@ -25,11 +25,11 @@
25
25
  ]
26
26
  },
27
27
  "dependencies": {
28
- "@blocklet/code-editor": "^0.5.16",
28
+ "@blocklet/code-editor": "^0.5.20",
29
29
  "@blocklet/embed": "^0.2.5",
30
30
  "@blocklet/js-sdk": "^1.16.51",
31
- "@blocklet/pages-kit": "^0.6.66",
32
- "@blocklet/pages-kit-runtime": "^0.6.66",
31
+ "@blocklet/pages-kit": "^0.6.72",
32
+ "@blocklet/pages-kit-runtime": "^0.6.72",
33
33
  "@excalidraw/excalidraw": "^0.18.0",
34
34
  "@iconify/iconify": "^3.1.1",
35
35
  "@iconify/icons-tabler": "^1.2.95",
@@ -73,7 +73,7 @@
73
73
  "ufo": "^1.5.4",
74
74
  "url-join": "^4.0.1",
75
75
  "zustand": "^4.5.5",
76
- "@blocklet/pdf": "2.4.100"
76
+ "@blocklet/pdf": "2.4.101"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@babel/core": "^7.25.2",