@opentiny/tiny-engine-toolbar-theme-switch 2.8.2-alpha.3 → 2.8.2

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 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 { 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";
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, computed as C, ref as U, 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,7 +10,12 @@ const W = {
10
10
  options: {
11
11
  renderType: "icon"
12
12
  }
13
- }, X = {
13
+ }, X = (o, t) => {
14
+ const n = o.__vccOpts || o;
15
+ for (const [e, g] of t)
16
+ n[e] = g;
17
+ return n;
18
+ }, Y = {
14
19
  components: {
15
20
  ToolbarBase: B,
16
21
  TinyRadioGroup: Q,
@@ -144,11 +149,6 @@ const W = {
144
149
  changeThemeType: M
145
150
  };
146
151
  }
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__ */ Y(X, [["render", oe], ["__scopeId", "data-v-ab74953f"]]), p = U([]);
203
+ const ne = /* @__PURE__ */ X(Y, [["render", oe], ["__scopeId", "data-v-02f0b8b7"]]), 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-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)}
1
+ .theme-list .theme-item[data-v-02f0b8b7]{padding:4px 16px;margin:0 -16px}.theme-list .theme-item[data-v-02f0b8b7]:hover{background-color:var(--te-toolbar-theme-popover-list-item-bg-color-hover)}.theme-list .active[data-v-02f0b8b7]{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.2-alpha.3",
3
+ "version": "2.8.2",
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.2-alpha.3",
29
- "@opentiny/tiny-engine-meta-register": "2.8.2-alpha.3",
30
- "@opentiny/tiny-engine-utils": "2.8.2-alpha.3"
28
+ "@opentiny/tiny-engine-common": "2.8.2",
29
+ "@opentiny/tiny-engine-meta-register": "2.8.2",
30
+ "@opentiny/tiny-engine-utils": "2.8.2"
31
31
  },
32
32
  "devDependencies": {
33
- "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.8.2-alpha.3",
33
+ "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.8.2",
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": "f1e69f7edb63a47b92f9fde6e75b5da6b8b168dd"
42
+ "gitHead": "de9ef61b71e32ac134ebd9b92b2f685cecf5d2cd"
43
43
  }