defuss 2.0.5 → 2.0.7

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/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var dom = require('./dom-Crz9TlxR.cjs');
3
+ var dom = require('./dom-BM7yyeiL.cjs');
4
4
  require('defuss-runtime');
5
5
 
6
6
  const inDevMode = true;
@@ -355,6 +355,7 @@ exports.createStore = dom.createStore;
355
355
  exports.createSubChain = dom.createSubChain;
356
356
  exports.delayedAutoStart = dom.delayedAutoStart;
357
357
  exports.dequery = dom.dequery;
358
+ exports.domNodeToVNode = dom.domNodeToVNode;
358
359
  exports.emptyImpl = dom.emptyImpl;
359
360
  exports.getAllFormValues = dom.getAllFormValues;
360
361
  exports.getDefaultDequeryOptions = dom.getDefaultDequeryOptions;
@@ -363,6 +364,7 @@ exports.getMimeType = dom.getMimeType;
363
364
  exports.getRenderer = dom.getRenderer;
364
365
  exports.globalScopeDomApis = dom.globalScopeDomApis;
365
366
  exports.handleLifecycleEventsForOnMount = dom.handleLifecycleEventsForOnMount;
367
+ exports.htmlStringToVNodes = dom.htmlStringToVNodes;
366
368
  exports.isDequery = dom.isDequery;
367
369
  exports.isDequeryOptionsObject = dom.isDequeryOptionsObject;
368
370
  exports.isHTML = dom.isHTML;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-B2aNqkPk.js';
2
- export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-B2aNqkPk.js';
1
+ import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-B8pQcXQL.js';
2
+ export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-B8pQcXQL.js';
3
3
  import * as CSS from 'csstype';
4
4
  export { CSS };
5
5
 
@@ -52,6 +52,16 @@ declare function getEventMap(element: HTMLElement): Map<string, Set<EventListene
52
52
  declare function addElementEvent(element: HTMLElement, eventType: string, handler: EventListener): void;
53
53
  declare function removeElementEvent(element: HTMLElement, eventType: string, handler?: EventListener): void;
54
54
  declare function clearElementEvents(element: HTMLElement): void;
55
+ /**
56
+ * Converts a DOM node to a VNode structure for use with updateDomWithVdom.
57
+ * This allows us to leverage the sophisticated partial update system even for Node inputs.
58
+ */
59
+ declare function domNodeToVNode(node: Node): VNode<VNodeAttributes> | string;
60
+ /**
61
+ * Converts an HTML string to VNode structure for use with updateDomWithVdom.
62
+ * This allows markup strings to benefit from the intelligent partial update system.
63
+ */
64
+ declare function htmlStringToVNodes(html: string, Parser: typeof DOMParser): (VNode<VNodeAttributes> | string)[];
55
65
 
56
66
  type TranslationObject = {
57
67
  [key: string]: string | VNode | TranslationObject;
@@ -205,4 +215,4 @@ declare const Suspense: ({ fallback, ref, children, class: _class, className, id
205
215
  children: VNode<VNodeAttributes>[];
206
216
  };
207
217
 
208
- export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, getEventMap, getMimeType, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
218
+ export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, domNodeToVNode, getEventMap, getMimeType, htmlStringToVNodes, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-B2aNqkPk.js';
2
- export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-B2aNqkPk.js';
1
+ import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-B8pQcXQL.js';
2
+ export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-B8pQcXQL.js';
3
3
  import * as CSS from 'csstype';
4
4
  export { CSS };
5
5
 
@@ -52,6 +52,16 @@ declare function getEventMap(element: HTMLElement): Map<string, Set<EventListene
52
52
  declare function addElementEvent(element: HTMLElement, eventType: string, handler: EventListener): void;
53
53
  declare function removeElementEvent(element: HTMLElement, eventType: string, handler?: EventListener): void;
54
54
  declare function clearElementEvents(element: HTMLElement): void;
55
+ /**
56
+ * Converts a DOM node to a VNode structure for use with updateDomWithVdom.
57
+ * This allows us to leverage the sophisticated partial update system even for Node inputs.
58
+ */
59
+ declare function domNodeToVNode(node: Node): VNode<VNodeAttributes> | string;
60
+ /**
61
+ * Converts an HTML string to VNode structure for use with updateDomWithVdom.
62
+ * This allows markup strings to benefit from the intelligent partial update system.
63
+ */
64
+ declare function htmlStringToVNodes(html: string, Parser: typeof DOMParser): (VNode<VNodeAttributes> | string)[];
55
65
 
56
66
  type TranslationObject = {
57
67
  [key: string]: string | VNode | TranslationObject;
@@ -205,4 +215,4 @@ declare const Suspense: ({ fallback, ref, children, class: _class, className, id
205
215
  children: VNode<VNodeAttributes>[];
206
216
  };
207
217
 
208
- export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, getEventMap, getMimeType, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
218
+ export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, domNodeToVNode, getEventMap, getMimeType, htmlStringToVNodes, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { l as createStore, m as isServer, k as createRef, $, f as isRef } from './dom-DtgVTMnb.mjs';
2
- export { H as Call, J as CallChainImpl, K as CallChainImplThenable, F as Fragment, N as NonChainedReturnCallNames, D as addElementEvent, n as areDomNodesEqual, B as checkElementVisibility, G as clearElementEvents, U as createCall, V as createGetterSetterCall, c as createInPlaceErrorMessageVNode, W as createSubChain, O as delayedAutoStart, P as dequery, I as emptyImpl, M as getAllFormValues, S as getDefaultDequeryOptions, C as getEventMap, z as getMimeType, g as getRenderer, b as globalScopeDomApis, h as handleLifecycleEventsForOnMount, Q as isDequery, R as isDequeryOptionsObject, v as isHTML, i as isJSX, x as isMarkup, t as isSVG, j as jsx, e as jsxDEV, d as jsxs, T as mapArrayIndexAccess, o as observeUnmount, s as parseDOM, A as processAllFormElements, E as removeElementEvent, a as renderIsomorphicAsync, r as renderIsomorphicSync, y as renderMarkup, Z as renderNode, q as replaceDomWithVdom, _ as resolveNodes, Y as runWithTimeGuard, L as scrollHelper, X as subChainForNextAwait, a0 as traverse, u as updateDom, p as updateDomWithVdom, w as waitForDOM, a1 as webstorage } from './dom-DtgVTMnb.mjs';
1
+ import { l as createStore, m as isServer, k as createRef, $, f as isRef } from './dom-CUosB5rS.mjs';
2
+ export { J as Call, L as CallChainImpl, M as CallChainImplThenable, F as Fragment, N as NonChainedReturnCallNames, D as addElementEvent, n as areDomNodesEqual, B as checkElementVisibility, G as clearElementEvents, W as createCall, X as createGetterSetterCall, c as createInPlaceErrorMessageVNode, Y as createSubChain, Q as delayedAutoStart, R as dequery, H as domNodeToVNode, K as emptyImpl, P as getAllFormValues, U as getDefaultDequeryOptions, C as getEventMap, z as getMimeType, g as getRenderer, b as globalScopeDomApis, h as handleLifecycleEventsForOnMount, I as htmlStringToVNodes, S as isDequery, T as isDequeryOptionsObject, v as isHTML, i as isJSX, x as isMarkup, t as isSVG, j as jsx, e as jsxDEV, d as jsxs, V as mapArrayIndexAccess, o as observeUnmount, s as parseDOM, A as processAllFormElements, E as removeElementEvent, a as renderIsomorphicAsync, r as renderIsomorphicSync, y as renderMarkup, a0 as renderNode, q as replaceDomWithVdom, a1 as resolveNodes, _ as runWithTimeGuard, O as scrollHelper, Z as subChainForNextAwait, a2 as traverse, u as updateDom, p as updateDomWithVdom, w as waitForDOM, a3 as webstorage } from './dom-CUosB5rS.mjs';
3
3
  import 'defuss-runtime';
4
4
 
5
5
  const inDevMode = true;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var dom = require('../dom-Crz9TlxR.cjs');
3
+ var dom = require('../dom-BM7yyeiL.cjs');
4
4
  require('defuss-runtime');
5
5
 
6
6
  const renderSync = (virtualNode, parentDomElement = document.documentElement) => {
@@ -1,5 +1,5 @@
1
- import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-B2aNqkPk.js';
2
- export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B2aNqkPk.js';
1
+ import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-B8pQcXQL.js';
2
+ export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
3
3
  import * as CSS from 'csstype';
4
4
  export { CSS };
5
5
 
@@ -1,5 +1,5 @@
1
- import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-B2aNqkPk.js';
2
- export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B2aNqkPk.js';
1
+ import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-B8pQcXQL.js';
2
+ export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
3
3
  import * as CSS from 'csstype';
4
4
  export { CSS };
5
5
 
@@ -1,5 +1,5 @@
1
- import { b as globalScopeDomApis, r as renderIsomorphicSync, a as renderIsomorphicAsync, o as observeUnmount } from '../dom-DtgVTMnb.mjs';
2
- export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs } from '../dom-DtgVTMnb.mjs';
1
+ import { b as globalScopeDomApis, r as renderIsomorphicSync, a as renderIsomorphicAsync, o as observeUnmount } from '../dom-CUosB5rS.mjs';
2
+ export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs } from '../dom-CUosB5rS.mjs';
3
3
  import 'defuss-runtime';
4
4
 
5
5
  const renderSync = (virtualNode, parentDomElement = document.documentElement) => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var dom = require('../dom-Crz9TlxR.cjs');
3
+ var dom = require('../dom-BM7yyeiL.cjs');
4
4
  require('defuss-runtime');
5
5
 
6
6
 
@@ -1,3 +1,3 @@
1
- export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B2aNqkPk.js';
1
+ export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
2
2
  import * as CSS from 'csstype';
3
3
  export { CSS };
@@ -1,3 +1,3 @@
1
- export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B2aNqkPk.js';
1
+ export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
2
2
  import * as CSS from 'csstype';
3
3
  export { CSS };
@@ -1,2 +1,2 @@
1
- export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, b as globalScopeDomApis, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount, a as renderIsomorphicAsync, r as renderIsomorphicSync } from '../dom-DtgVTMnb.mjs';
1
+ export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, b as globalScopeDomApis, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount, a as renderIsomorphicAsync, r as renderIsomorphicSync } from '../dom-CUosB5rS.mjs';
2
2
  import 'defuss-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var HappyDom = require('happy-dom');
4
- var dom = require('../dom-Crz9TlxR.cjs');
4
+ var dom = require('../dom-BM7yyeiL.cjs');
5
5
  var serializeHtml = require('w3c-xmlserializer');
6
6
  require('defuss-runtime');
7
7
 
@@ -1,5 +1,5 @@
1
- import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-B2aNqkPk.js';
2
- export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B2aNqkPk.js';
1
+ import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-B8pQcXQL.js';
2
+ export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
3
3
  import * as CSS from 'csstype';
4
4
  export { CSS };
5
5
 
@@ -1,5 +1,5 @@
1
- import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-B2aNqkPk.js';
2
- export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B2aNqkPk.js';
1
+ import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-B8pQcXQL.js';
2
+ export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
3
3
  import * as CSS from 'csstype';
4
4
  export { CSS };
5
5
 
@@ -1,6 +1,6 @@
1
1
  import * as HappyDom from 'happy-dom';
2
- import { r as renderIsomorphicSync, a as renderIsomorphicAsync, b as globalScopeDomApis } from '../dom-DtgVTMnb.mjs';
3
- export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount } from '../dom-DtgVTMnb.mjs';
2
+ import { r as renderIsomorphicSync, a as renderIsomorphicAsync, b as globalScopeDomApis } from '../dom-CUosB5rS.mjs';
3
+ export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount } from '../dom-CUosB5rS.mjs';
4
4
  import serializeHtml from 'w3c-xmlserializer';
5
5
  import 'defuss-runtime';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "defuss",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -84,14 +84,15 @@
84
84
  "pkgroll": "^2.6.0",
85
85
  "tsx": "^4.19.2",
86
86
  "typescript": "^5.7.2",
87
- "vitest": "^3.1.3"
87
+ "vitest": "^3.1.3",
88
+ "jsdom": "^26.1.0"
88
89
  },
89
90
  "dependencies": {
90
91
  "@types/w3c-xmlserializer": "^2.0.4",
91
92
  "csstype": "^3.1.3",
92
93
  "happy-dom": "^15.11.7",
93
94
  "w3c-xmlserializer": "^5.0.0",
94
- "defuss-runtime": "1.0.1"
95
+ "defuss-runtime": "1.0.3"
95
96
  },
96
97
  "scripts": {
97
98
  "clean": "rm -rf ./coverage && rm -rf ./node_modules/.pnpm && rm -rf ./node_modules/.vite",