windmill-components 1.406.2 → 1.406.3

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.
@@ -5,7 +5,7 @@ export let white = false;
5
5
  export let spin = undefined;
6
6
  </script>
7
7
 
8
- {#if customIcon}
8
+ {#if customIcon.white || customIcon.normal}
9
9
  {#if white}
10
10
  <img src={customIcon.white} alt="Windmill Custom icon" {width} {height} class={$$props.class} />
11
11
  {:else}
@@ -1,4 +1,4 @@
1
1
  export declare let customIcon: {
2
- normal: string;
3
- white: string;
4
- } | undefined;
2
+ normal?: string;
3
+ white?: string;
4
+ };
@@ -1 +1 @@
1
- export let customIcon = undefined;
1
+ export let customIcon = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-components",
3
- "version": "1.406.2",
3
+ "version": "1.406.3",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",