svelteplot 0.10.3-pr-488.0 → 0.10.3-pr-488.2

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.
@@ -109,7 +109,8 @@
109
109
  <RectPath
110
110
  {usedScales}
111
111
  class={className}
112
- options={options as BaseRectMarkProps<DataRecord> & BaseMarkProps<DataRecord>}
112
+ options={options as BaseRectMarkProps<DataRecord> &
113
+ BaseMarkProps<DataRecord>}
113
114
  datum={d}
114
115
  x={minx}
115
116
  useInsetAsFallbackHorizontally={false}
@@ -52,13 +52,12 @@
52
52
  });
53
53
 
54
54
  const plot = usePlot();
55
- const args = $derived(recordizeX({ data: data as DataRow[], ...options }, { withIndex: false }));
55
+ const args = $derived(
56
+ recordizeX({ data: data as DataRow[], ...options }, { withIndex: false })
57
+ );
56
58
  </script>
57
59
 
58
- <Mark
59
- type="ruleX"
60
- channels={['x', 'y1', 'y2', 'stroke', 'opacity', 'strokeOpacity']}
61
- {...args}>
60
+ <Mark type="ruleX" channels={['x', 'y1', 'y2', 'stroke', 'opacity', 'strokeOpacity']} {...args}>
62
61
  {#snippet children({ mark, scaledData, usedScales })}
63
62
  {#if canvas}
64
63
  <RuleCanvas
@@ -52,13 +52,12 @@
52
52
  });
53
53
 
54
54
  const plot = usePlot();
55
- const args = $derived(recordizeY({ data: data as DataRow[], ...options }, { withIndex: false }));
55
+ const args = $derived(
56
+ recordizeY({ data: data as DataRow[], ...options }, { withIndex: false })
57
+ );
56
58
  </script>
57
59
 
58
- <Mark
59
- type="ruleY"
60
- channels={['y', 'x1', 'x2', 'stroke', 'opacity', 'strokeOpacity']}
61
- {...args}>
60
+ <Mark type="ruleY" channels={['y', 'x1', 'x2', 'stroke', 'opacity', 'strokeOpacity']} {...args}>
62
61
  {#snippet children({ scaledData, usedScales })}
63
62
  {#if canvas}
64
63
  <RuleCanvas
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.10.3-pr-488.0",
3
+ "version": "0.10.3-pr-488.2",
4
4
  "description": "A Svelte-native data visualization framework based on the layered grammar of graphics principles.",
5
5
  "keywords": [
6
6
  "svelte",