@krate/runtime 0.3.0-beta.8 → 0.3.0-rc.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.
@@ -165,9 +165,9 @@ declare global {
165
165
  children?: unknown[] | unknown;
166
166
  key?: string | number;
167
167
  /** Assigns the mounted DOM element. Pass a mutable holder (`ref={myRef}`), a callback (`ref={el => ...}`), or an element. */
168
- ref?: ((el: Element) => void) | {
169
- current: Element | null;
170
- } | Element | null;
168
+ ref?: ((el: globalThis.Element) => void) | {
169
+ current: globalThis.Element | null;
170
+ } | globalThis.Element | null;
171
171
  slot?: string;
172
172
  style?: CSSProperties | string;
173
173
  part?: string;
@@ -613,9 +613,9 @@ declare global {
613
613
  interface SVGAttributes extends AriaAttributes {
614
614
  children?: unknown[] | unknown;
615
615
  key?: string | number;
616
- ref?: ((el: Element) => void) | {
617
- current: Element | null;
618
- } | Element | null;
616
+ ref?: ((el: globalThis.Element) => void) | {
617
+ current: globalThis.Element | null;
618
+ } | globalThis.Element | null;
619
619
  style?: CSSProperties | string;
620
620
  class?: string;
621
621
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krate/runtime",
3
- "version": "0.3.0-beta.8",
3
+ "version": "0.3.0-rc.1",
4
4
  "description": "Client-side runtime for Krate — signals, hydration, SPA router, resources, and context.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",