svelteplot 0.10.3-pr-493.2 → 0.10.3-pr-496.0

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.
@@ -45,10 +45,7 @@
45
45
  tickFormat={(plot.options.fx.tickFormat || ((d: any) => d)) as any}
46
46
  tickFontSize={11}
47
47
  tickSize={0}
48
- tickPadding={plot.options.x.axis === plot.options.fx.axis ||
49
- plot.options.x.axis === 'both'
50
- ? 25
51
- : 5}
48
+ tickPadding={5}
52
49
  anchor={plot.options.fx.axis === 'both'
53
50
  ? 'top'
54
51
  : (plot.options.fx.axis as 'top' | 'bottom' | undefined)}
@@ -210,7 +210,7 @@
210
210
  const useFacetAnchor = $derived(
211
211
  facetAnchor !== 'auto' ? facetAnchor : anchor === 'bottom' ? 'bottom-empty' : 'top-empty'
212
212
  );
213
- const showAxis = $derived(
213
+ const showFacetAnchoredAxis = $derived(
214
214
  useFacetAnchor === 'top'
215
215
  ? top
216
216
  : useFacetAnchor === 'bottom'
@@ -219,6 +219,7 @@
219
219
  ? topEmpty
220
220
  : bottomEmpty
221
221
  );
222
+ const showAxis = $derived(showFacetAnchoredAxis);
222
223
  </script>
223
224
 
224
225
  <Mark
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.10.3-pr-493.2",
3
+ "version": "0.10.3-pr-496.0",
4
4
  "description": "A Svelte-native data visualization framework based on the layered grammar of graphics principles.",
5
5
  "keywords": [
6
6
  "svelte",