@opentiny/tiny-engine-toolbar-theme-switch 2.8.1 → 2.8.2-alpha.1
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 +8 -8
- package/dist/style.css +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { getMetaApi as m, META_SERVICE as c, callEntry as T, getMergeMeta as y, defineService as D } from "@opentiny/tiny-engine-meta-register";
|
|
3
|
-
import { resolveComponent as G, createElementBlock as L, openBlock as V, createVNode as H, withCtx as N, createElementVNode as O, Fragment as P, renderList as R, normalizeClass as j, toDisplayString as z, createCommentVNode as q,
|
|
3
|
+
import { computed as C, ref as U, resolveComponent as G, createElementBlock as L, openBlock as V, createVNode as H, withCtx as N, createElementVNode as O, Fragment as P, renderList as R, normalizeClass as j, toDisplayString as z, createCommentVNode as q, reactive as J } from "vue";
|
|
4
4
|
import { ToolbarBase as B, setGlobalMonacoEditorTheme as x } from "@opentiny/tiny-engine-common";
|
|
5
5
|
import { TinyPopover as K, TinyRadioGroup as Q } from "@opentiny/vue";
|
|
6
6
|
const W = {
|
|
@@ -10,12 +10,7 @@ const W = {
|
|
|
10
10
|
options: {
|
|
11
11
|
renderType: "icon"
|
|
12
12
|
}
|
|
13
|
-
}, X =
|
|
14
|
-
const n = o.__vccOpts || o;
|
|
15
|
-
for (const [e, g] of t)
|
|
16
|
-
n[e] = g;
|
|
17
|
-
return n;
|
|
18
|
-
}, Y = {
|
|
13
|
+
}, X = {
|
|
19
14
|
components: {
|
|
20
15
|
ToolbarBase: B,
|
|
21
16
|
TinyRadioGroup: Q,
|
|
@@ -149,6 +144,11 @@ const W = {
|
|
|
149
144
|
changeThemeType: M
|
|
150
145
|
};
|
|
151
146
|
}
|
|
147
|
+
}, Y = (o, t) => {
|
|
148
|
+
const n = o.__vccOpts || o;
|
|
149
|
+
for (const [e, g] of t)
|
|
150
|
+
n[e] = g;
|
|
151
|
+
return n;
|
|
152
152
|
}, Z = { class: "toolbar-theme-switch" }, $ = { class: "theme-list" }, ee = ["onClick"], te = {
|
|
153
153
|
key: 0,
|
|
154
154
|
class: "toolbar-theme-switch-radio"
|
|
@@ -200,7 +200,7 @@ function oe(o, t, n, e, g, r) {
|
|
|
200
200
|
}, 8, ["modelValue"])
|
|
201
201
|
]);
|
|
202
202
|
}
|
|
203
|
-
const ne = /* @__PURE__ */ X
|
|
203
|
+
const ne = /* @__PURE__ */ Y(X, [["render", oe], ["__scopeId", "data-v-ab74953f"]]), p = U([]);
|
|
204
204
|
let v = null;
|
|
205
205
|
const i = J({
|
|
206
206
|
theme: "",
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.theme-list .theme-item[data-v-
|
|
1
|
+
.theme-list .theme-item[data-v-ab74953f]{padding:4px 16px;margin:0 -16px}.theme-list .theme-item[data-v-ab74953f]:hover{background-color:var(--te-toolbar-theme-popover-list-item-bg-color-hover)}.theme-list .active[data-v-ab74953f]{background-color:var(--te-toolbar-theme-popover-list-item-bg-color-active)}.toolbar-theme-switch{--te-toolbar-theme-switch-radio-title: var(--te-common-text-secondary)}.theme-list{--te-toolbar-theme-popover-list-item-bg-color-hover: var(--te-common-bg-container);--te-toolbar-theme-popover-list-item-bg-color-active: var(--te-common-bg-container)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-toolbar-theme-switch",
|
|
3
|
-
"version": "2.8.1",
|
|
3
|
+
"version": "2.8.2-alpha.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-common": "2.8.1",
|
|
29
|
-
"@opentiny/tiny-engine-meta-register": "2.8.1",
|
|
30
|
-
"@opentiny/tiny-engine-utils": "2.8.1"
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.8.2-alpha.1",
|
|
29
|
+
"@opentiny/tiny-engine-meta-register": "2.8.2-alpha.1",
|
|
30
|
+
"@opentiny/tiny-engine-utils": "2.8.2-alpha.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.8.1",
|
|
33
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.8.2-alpha.1",
|
|
34
34
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
35
35
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
36
36
|
"vite": "^5.4.2"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@opentiny/vue": "^3.20.0",
|
|
40
40
|
"vue": "^3.4.15"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "f48ce1a6af275b1ffda621ff7e53921af92d0d19"
|
|
43
43
|
}
|