@likable-hair/svelte 3.1.50 → 3.1.51

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.
@@ -108,11 +108,13 @@ $:
108
108
  }
109
109
  }
110
110
  };
111
+ $:
112
+ realData = data;
111
113
  </script>
112
114
 
113
115
  {#if zoomMounted || !enableZoom}
114
- <Line
115
- bind:data={data}
116
+ <Line
117
+ bind:data={realData}
116
118
  options={chartOptions}
117
119
  bind:chart={chart}
118
120
  ></Line>
@@ -5,11 +5,12 @@ declare const __propDef: {
5
5
  labels: string[];
6
6
  datasets: {
7
7
  label: string;
8
- data: number[];
8
+ data: (number | null)[];
9
9
  backgroundColor?: string | undefined;
10
10
  borderColor?: string | undefined;
11
11
  hoverBackgroundColor?: string[] | undefined;
12
12
  tension?: number | undefined;
13
+ spanGaps?: boolean | number | undefined;
13
14
  }[];
14
15
  } | undefined;
15
16
  horizontal?: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair and others",
4
- "version": "3.1.50",
4
+ "version": "3.1.51",
5
5
  "scripts": {
6
6
  "host": "vite --host",
7
7
  "dev": "vite dev",