windmill-components 1.542.4 → 1.542.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.
@@ -15,15 +15,17 @@ export let customUi = {};
15
15
  contentClasses="flex flex-col gap-y-2 p-4"
16
16
  >
17
17
  <svelte:fragment slot="trigger">
18
- <Button
19
- btnClasses="text-tertiary"
20
- color="light"
21
- size="xs"
22
- nonCaptureEvent={true}
23
- startIcon={{ icon: Settings }}
24
- iconOnly
25
- title="Editor settings"
26
- />
18
+ {#if customUi.editorSettings != false}
19
+ <Button
20
+ btnClasses="text-tertiary"
21
+ color="light"
22
+ size="xs"
23
+ nonCaptureEvent={true}
24
+ startIcon={{ icon: Settings }}
25
+ iconOnly
26
+ title="Editor settings"
27
+ />
28
+ {/if}
27
29
  </svelte:fragment>
28
30
 
29
31
  <svelte:fragment slot="content">
@@ -65,6 +65,7 @@ export type EditorBarUi = {
65
65
  assistants?: boolean;
66
66
  multiplayer?: boolean;
67
67
  autoformatting?: boolean;
68
+ editorSettings?: boolean;
68
69
  vimMode?: boolean;
69
70
  relativeLineNumbers?: boolean;
70
71
  aiGen?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-components",
3
- "version": "1.542.4",
3
+ "version": "1.542.5",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",