windmill-components 1.406.4 → 1.406.5

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.
@@ -1,5 +1,4 @@
1
- <script>import { base } from '$app/paths';
2
- import AppConnectInner from './AppConnectInner.svelte';
1
+ <script>import AppConnectInner from './AppConnectInner.svelte';
3
2
  import DarkModeObserver from './DarkModeObserver.svelte';
4
3
  import { Button } from './common';
5
4
  import { workspaceStore } from '../stores';
@@ -9,7 +8,6 @@ export let workspace;
9
8
  export let express = false;
10
9
  let step = 1;
11
10
  let disabled = false;
12
- let isGoogleSignin = false;
13
11
  let manual = true;
14
12
  let appConnect = undefined;
15
13
  let darkMode = false;
@@ -32,32 +30,21 @@ onMount(async () => {
32
30
  <Button variant="border" on:click={appConnect?.back}>Back</Button>
33
31
  {/if}
34
32
 
35
- {#if isGoogleSignin}
36
- <button {disabled} on:click={appConnect?.next}>
37
- <img
38
- class="h-10 w-auto object-contain"
39
- src={darkMode ? base + '/google_signin_dark.png' : base + '/google_signin_light.png'}
40
- alt="Google sign-in"
41
- />
42
- </button>
43
- {:else}
44
- <Button {disabled} on:click={appConnect?.next}>
45
- {#if step == 2 && !manual}
46
- Connect
47
- {:else if step == 1}
48
- Next
49
- {:else}
50
- Save
51
- {/if}
52
- </Button>
53
- {/if}
33
+ <Button {disabled} on:click={appConnect?.next}>
34
+ {#if step == 2 && !manual}
35
+ Connect
36
+ {:else if step == 1}
37
+ Next
38
+ {:else}
39
+ Save
40
+ {/if}
41
+ </Button>
54
42
  </div>
55
43
  </div>
56
44
  <AppConnectInner
57
45
  bind:this={appConnect}
58
46
  bind:step
59
47
  bind:resourceType
60
- bind:isGoogleSignin
61
48
  bind:disabled
62
49
  bind:manual
63
50
  on:error
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-components",
3
- "version": "1.406.4",
3
+ "version": "1.406.5",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",