@elementor/editor-ui 4.1.0-827 → 4.1.0-829
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.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
- package/src/components/theme-provider.tsx +2 -2
package/dist/index.js
CHANGED
|
@@ -261,10 +261,10 @@ function getV1ColorScheme() {
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
// src/components/theme-provider.tsx
|
|
264
|
-
var
|
|
264
|
+
var EDITOR_PALETTE = "unstable";
|
|
265
265
|
function ThemeProvider({ children }) {
|
|
266
266
|
const colorScheme = useColorScheme();
|
|
267
|
-
return /* @__PURE__ */ React5.createElement(import_ui6.ThemeProvider, { colorScheme, palette:
|
|
267
|
+
return /* @__PURE__ */ React5.createElement(import_ui6.ThemeProvider, { colorScheme, palette: EDITOR_PALETTE }, children);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
// src/components/menu-item.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -199,10 +199,10 @@ function getV1ColorScheme() {
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
// src/components/theme-provider.tsx
|
|
202
|
-
var
|
|
202
|
+
var EDITOR_PALETTE = "unstable";
|
|
203
203
|
function ThemeProvider({ children }) {
|
|
204
204
|
const colorScheme = useColorScheme();
|
|
205
|
-
return /* @__PURE__ */ React5.createElement(ThemeProviderBase, { colorScheme, palette:
|
|
205
|
+
return /* @__PURE__ */ React5.createElement(ThemeProviderBase, { colorScheme, palette: EDITOR_PALETTE }, children);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
// src/components/menu-item.tsx
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-ui",
|
|
3
3
|
"description": "Elementor Editor UI",
|
|
4
|
-
"version": "4.1.0-
|
|
4
|
+
"version": "4.1.0-829",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Elementor Team",
|
|
7
7
|
"homepage": "https://elementor.com/",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"react-dom": "^18.3.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@elementor/editor-v1-adapters": "4.1.0-
|
|
40
|
+
"@elementor/editor-v1-adapters": "4.1.0-829",
|
|
41
41
|
"@elementor/icons": "^1.68.0",
|
|
42
42
|
"@elementor/ui": "1.37.5",
|
|
43
43
|
"@tanstack/react-virtual": "^3.13.3",
|
|
@@ -3,13 +3,13 @@ import { ThemeProvider as ThemeProviderBase, type ThemeProviderProps } from '@el
|
|
|
3
3
|
|
|
4
4
|
import { useColorScheme } from '../hooks/use-color-scheme';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const EDITOR_PALETTE: ThemeProviderProps[ 'palette' ] = 'unstable';
|
|
7
7
|
|
|
8
8
|
export default function ThemeProvider( { children }: { children: React.ReactNode } ) {
|
|
9
9
|
const colorScheme = useColorScheme();
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
|
-
<ThemeProviderBase colorScheme={ colorScheme } palette={
|
|
12
|
+
<ThemeProviderBase colorScheme={ colorScheme } palette={ EDITOR_PALETTE }>
|
|
13
13
|
{ children }
|
|
14
14
|
</ThemeProviderBase>
|
|
15
15
|
);
|