@r2digisolutions/components 0.3.2 → 0.3.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.
@@ -256,9 +256,8 @@
256
256
  let contextTarget = $state<CellRef | null>(null);
257
257
  let contextOpen = $state(false);
258
258
  let contextAnchor = $state<ContextMenuAnchor | null>(null);
259
- let viewportWidth = $state(
260
- typeof window !== 'undefined' ? window.innerWidth : 1280
261
- );
259
+ /** Same on SSR + first client paint to avoid hydration mismatch; real width set in $effect. */
260
+ let viewportWidth = $state(1280);
262
261
  let filterColumnDraft = $state('');
263
262
  let filterValueDraft = $state('');
264
263
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/components",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "description": "R2DigiSolutions Svelte 5 component library — Atomic Design, Tailwind 4, Light/Dark mode",
6
6
  "license": "MIT",