svelteplot 0.14.0-pr-545.2 → 0.14.0-pr-545.3

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.
@@ -161,7 +161,12 @@
161
161
  if (typeof v === 'function') return true;
162
162
  if (typeof v !== 'string') return false;
163
163
  const lower = v.toLowerCase();
164
- if (lower === 'none' || lower === 'density' || lower === 'inherit' || lower === 'currentcolor')
164
+ if (
165
+ lower === 'none' ||
166
+ lower === 'density' ||
167
+ lower === 'inherit' ||
168
+ lower === 'currentcolor'
169
+ )
165
170
  return false;
166
171
  return !isColorOrNull(v);
167
172
  }
@@ -183,7 +188,7 @@
183
188
  const isZGrouped = $derived(zGroupAcc != null);
184
189
 
185
190
  // Resolved static fill/stroke strings (after extracting accessor info)
186
- const fill = $derived<string>(fillIsAccessor ? 'none' : (rawFill as string) ?? 'none');
191
+ const fill = $derived<string>(fillIsAccessor ? 'none' : ((rawFill as string) ?? 'none'));
187
192
 
188
193
  const fillDensity = $derived(/^density$/i.test(fill ?? ''));
189
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.14.0-pr-545.2",
3
+ "version": "0.14.0-pr-545.3",
4
4
  "description": "A Svelte-native data visualization framework based on the layered grammar of graphics principles.",
5
5
  "keywords": [
6
6
  "svelte",