@miozu/jera 0.6.0 → 0.6.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miozu/jera",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Zero-dependency, AI-first component library for Svelte 5",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -157,15 +157,13 @@
157
157
  }
158
158
  </script>
159
159
 
160
- <!-- Only bind window for JS fallback -->
161
- {#if !supportsAnchor}
162
- <svelte:window
163
- bind:innerWidth={windowWidth}
164
- bind:innerHeight={windowHeight}
165
- onscroll={visible ? handleScroll : undefined}
166
- onresize={visible ? handleScroll : undefined}
167
- />
168
- {/if}
160
+ <!-- Window bindings for JS fallback (always rendered, handlers conditional) -->
161
+ <svelte:window
162
+ bind:innerWidth={windowWidth}
163
+ bind:innerHeight={windowHeight}
164
+ onscroll={!supportsAnchor && visible ? handleScroll : undefined}
165
+ onresize={!supportsAnchor && visible ? handleScroll : undefined}
166
+ />
169
167
 
170
168
  <div
171
169
  class="popover-wrapper {className}"