@speechos/react 1.0.7 → 1.0.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.
@@ -47,6 +47,14 @@ export interface SpeechOSReactConfig extends SpeechOSCoreConfig {
47
47
  * Default: handles input, textarea, and contenteditable elements.
48
48
  */
49
49
  textInputHandler?: TextInputHandlerInterface;
50
+ /**
51
+ * Use external settings page instead of built-in settings modal.
52
+ * When true, clicking the settings button opens /a/extension-settings
53
+ * at the configured host URL in a new tab.
54
+ *
55
+ * Default: false
56
+ */
57
+ useExternalSettings?: boolean;
50
58
  }
51
59
  /**
52
60
  * Props for SpeechOSProvider
package/dist/context.d.ts CHANGED
@@ -47,6 +47,14 @@ export interface SpeechOSReactConfig extends SpeechOSCoreConfig {
47
47
  * Default: handles input, textarea, and contenteditable elements.
48
48
  */
49
49
  textInputHandler?: TextInputHandlerInterface;
50
+ /**
51
+ * Use external settings page instead of built-in settings modal.
52
+ * When true, clicking the settings button opens /a/extension-settings
53
+ * at the configured host URL in a new tab.
54
+ *
55
+ * Default: false
56
+ */
57
+ useExternalSettings?: boolean;
50
58
  }
51
59
  /**
52
60
  * Props for SpeechOSProvider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speechos/react",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "React hooks and components for SpeechOS voice integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -48,8 +48,8 @@
48
48
  "author": "SpeechOS",
49
49
  "license": "MIT",
50
50
  "peerDependencies": {
51
- "@speechos/client": "^0.2.8",
52
- "@speechos/core": "^0.2.7",
51
+ "@speechos/client": "^0.2.10",
52
+ "@speechos/core": "^0.2.9",
53
53
  "react": ">=18.0.0"
54
54
  },
55
55
  "peerDependenciesMeta": {
@@ -69,6 +69,6 @@
69
69
  "vitest": "^4.0.16"
70
70
  },
71
71
  "dependencies": {
72
- "@speechos/core": "^0.2.7"
72
+ "@speechos/core": "^0.2.9"
73
73
  }
74
74
  }