layerchart 0.6.8 → 0.6.9

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.
@@ -143,7 +143,7 @@ $: if (mode === 'voronoi') {
143
143
  point.data = d;
144
144
  return point;
145
145
  });
146
- voronoi = Delaunay.from(points).voronoi([0, 0, $width, $height]);
146
+ voronoi = Delaunay.from(points).voronoi([0, 0, Math.max($width, 0), Math.max($height, 0)]); // width and/or height can sometimes be negative (when loading data remotely and updately)
147
147
  }
148
148
  let quadtree;
149
149
  $: if (mode === 'quadtree') {
package/package.json CHANGED
@@ -3,11 +3,11 @@
3
3
  "author": "Sean Lynch <techniq35@gmail.com>",
4
4
  "license": "MIT",
5
5
  "repository": "techniq/layerchart",
6
- "version": "0.6.8",
6
+ "version": "0.6.9",
7
7
  "devDependencies": {
8
8
  "@rollup/plugin-dsv": "^2.0.3",
9
- "@sveltejs/adapter-vercel": "^1.0.0-next.58",
10
- "@sveltejs/kit": "^1.0.0-next.350",
9
+ "@sveltejs/adapter-vercel": "^1.0.0-next.59",
10
+ "@sveltejs/kit": "^1.0.0-next.354",
11
11
  "@tailwindcss/typography": "^0.5.2",
12
12
  "@types/d3-array": "^3.0.3",
13
13
  "@types/d3-delaunay": "^6.0.1",
@@ -20,16 +20,16 @@
20
20
  "@types/lodash-es": "^4.17.6",
21
21
  "autoprefixer": "^10.4.7",
22
22
  "mdsvex": "^0.10.6",
23
- "prettier": "^2.6.2",
23
+ "prettier": "^2.7.1",
24
24
  "prettier-plugin-svelte": "^2.7.0",
25
25
  "prism-themes": "^1.9.0",
26
26
  "svelte": "^3.48.0",
27
27
  "svelte-check": "^2.7.2",
28
28
  "svelte-preprocess": "^4.10.7",
29
29
  "svelte2tsx": "^0.5.10",
30
- "tailwindcss": "^3.1.0",
30
+ "tailwindcss": "^3.1.4",
31
31
  "tslib": "^2.4.0",
32
- "typescript": "^4.7.3",
32
+ "typescript": "^4.7.4",
33
33
  "unist-util-visit": "^4.1.0",
34
34
  "vite-plugin-sveld": "^1.0.3"
35
35
  },
@@ -49,7 +49,7 @@
49
49
  "date-fns": "^2.28.0",
50
50
  "layercake": "^6.1.0",
51
51
  "lodash-es": "^4.17.21",
52
- "svelte-ux": "^0.5.1"
52
+ "svelte-ux": "^0.6.5"
53
53
  },
54
54
  "exports": {
55
55
  "./package.json": "./package.json",