scribe-widget 1.0.2 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scribe-widget",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Floating panel widget for medical transcription using eka.scribe",
5
5
  "main": "dist/scribe-widget.umd.js",
6
6
  "module": "dist/scribe-widget.es.js",
@@ -7,7 +7,11 @@ interface ConfigStateProps {
7
7
  initialBaseUrl?: string;
8
8
  }
9
9
 
10
- export function ConfigState({ onSubmit, initialApiKey = '', initialBaseUrl = '' }: ConfigStateProps) {
10
+ export function ConfigState({
11
+ onSubmit,
12
+ initialApiKey = '',
13
+ initialBaseUrl = '',
14
+ }: ConfigStateProps) {
11
15
  const [apiKey, setApiKey] = useState(initialApiKey);
12
16
  const [baseUrl, setBaseUrl] = useState(initialBaseUrl);
13
17
  const [error, setError] = useState('');
@@ -25,7 +29,12 @@ export function ConfigState({ onSubmit, initialApiKey = '', initialBaseUrl = ''
25
29
  };
26
30
 
27
31
  return (
28
- <div className="config-state">
32
+ <div
33
+ className="config-state"
34
+ style={{
35
+ zIndex: 9999,
36
+ }}
37
+ >
29
38
  <div className="logo">
30
39
  <div className="logo-icon">
31
40
  <LogoIcon />