svelteplot 0.2.10-pr-110.4 → 0.2.10-pr-110.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.
@@ -22,6 +22,7 @@
22
22
  let markProps: GraticuleMarkProps = $props();
23
23
 
24
24
  const DEFAULTS = {
25
+ step: 10,
25
26
  ...getContext<PlotDefaults>('svelteplot/_defaults').graticule
26
27
  };
27
28
 
@@ -12,17 +12,15 @@
12
12
  import type { PlotDefaults } from '../types.js';
13
13
 
14
14
  let markProps: SphereMarkProps = $props();
15
+
15
16
  const DEFAULTS = {
16
17
  ...getContext<PlotDefaults>('svelteplot/_defaults').sphere
17
18
  };
18
- const {
19
- data = [{}],
20
- class: className = '',
21
- ...options
22
- }: SphereMarkProps = $derived({
19
+
20
+ const { ...options }: SphereMarkProps = $derived({
23
21
  ...DEFAULTS,
24
22
  ...markProps
25
23
  });
26
24
  </script>
27
25
 
28
- <Geo {data} {...options} geoType="sphere" />
26
+ <Geo data={[{ type: 'Sphere' }]} {...options} geoType="sphere" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.2.10-pr-110.4",
3
+ "version": "0.2.10-pr-110.5",
4
4
  "license": "ISC",
5
5
  "author": {
6
6
  "name": "Gregor Aisch",