@vite-plugin-opencode-assistant/components 1.1.8 → 1.1.9

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/es/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { App } from 'vue';
2
- declare const version = "1.1.8";
2
+ declare const version = "1.1.9";
3
3
  declare function install(app: App<any>, options?: any): void;
4
4
  export { install, version, };
5
5
  export * from './open-code-widget';
package/es/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { OpenCodeWidget } from "./open-code-widget/index.mjs";
2
- const version = "1.1.8";
2
+ const version = "1.1.9";
3
3
  function install(app, options) {
4
4
  const components = [
5
5
  OpenCodeWidget
@@ -327,7 +327,9 @@ const __vue_sfc__ = /* @__PURE__ */ _defineComponent(__spreadProps(__spreadValue
327
327
  handleResize(state.splitPanelWidth);
328
328
  }
329
329
  if (state.displayMode !== void 0 && state.displayMode !== props.displayMode) {
330
- localDisplayMode.value = state.displayMode;
330
+ if (props.displayMode !== "extension" && props.displayMode !== "extension-selector") {
331
+ localDisplayMode.value = state.displayMode;
332
+ }
331
333
  }
332
334
  if (state.splitPosition !== void 0) {
333
335
  localSplitPosition.value = state.splitPosition;
package/lib/index.cjs CHANGED
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(lib_exports);
26
26
  var import_open_code_widget = require("./open-code-widget/index.cjs");
27
27
  __reExport(lib_exports, require("./open-code-widget/index.cjs"), module.exports);
28
28
  __reExport(lib_exports, require("./setup.cjs"), module.exports);
29
- const version = "1.1.8";
29
+ const version = "1.1.9";
30
30
  function install(app, options) {
31
31
  const components = [
32
32
  import_open_code_widget.OpenCodeWidget
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { App } from 'vue';
2
- declare const version = "1.1.8";
2
+ declare const version = "1.1.9";
3
3
  declare function install(app: App<any>, options?: any): void;
4
4
  export { install, version, };
5
5
  export * from './open-code-widget';
@@ -358,7 +358,9 @@ const __vue_sfc__ = /* @__PURE__ */ (0, import_vue.defineComponent)(__spreadProp
358
358
  handleResize(state.splitPanelWidth);
359
359
  }
360
360
  if (state.displayMode !== void 0 && state.displayMode !== props.displayMode) {
361
- localDisplayMode.value = state.displayMode;
361
+ if (props.displayMode !== "extension" && props.displayMode !== "extension-selector") {
362
+ localDisplayMode.value = state.displayMode;
363
+ }
362
364
  }
363
365
  if (state.splitPosition !== void 0) {
364
366
  localSplitPosition.value = state.splitPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vite-plugin-opencode-assistant/components",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Reusable OpenCode widget components built with Pagoda CLI",
5
5
  "type": "module",
6
6
  "main": "lib/index.cjs",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "css-selector-generator": "^3.9.2",
34
- "@vite-plugin-opencode-assistant/shared": "1.1.8"
34
+ "@vite-plugin-opencode-assistant/shared": "1.1.9"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "pagoda-cli build",