spark_vdom 1.0.0-alpha.6
spark_vdom: ^1.0.0-alpha.6 copied to clipboard
Virtual DOM engine for Spark - browser-side mounting, patching, and hydration.
Changelog #
1.0.0-alpha.6 #
Changed #
- Internal: Updated dependency on
spark_webto1.0.0-alpha.9to leverage improvedHTMLInputElementsupport and type safety for specialized input fields.
1.0.0-alpha.5 #
Fixed #
- VDOM: Prevented accidental closing of
dialoganddetailselements by avoiding the removal of the browser-managedopenattribute unless explicitly changed in the VDOM. - VDOM: Fixed
InvalidStateErrorwhen callingshowModal()on elements not yet in the Document. - VDOM: Improved property synchronization for
open,checked, andvalue(extended totextareaandselect) to ensure DOM state consistency.
1.0.0-alpha.4 #
Added #
- Testing: Achieved 100% code coverage for the entire package.
- Testing: Restructured tests to mirror the
lib/directory (test/src/). - Testing: Added comprehensive coverage for SVG context propagation, ShadowRoot patching, hydration edge cases, and resource cleanup.
- Internal: Exposed
nextIdandisIgnorablefor testing purposes via@visibleForTesting.
1.0.0-alpha.3 #
Added #
- Added explicit handling for
ShadowRootinmountandmountListto support mounting Virtual DOM trees directly into component shadow roots.
1.0.0-alpha.2 #
Fixed #
- Removed debug print statements from
patch(). - Refactor: Replaced
package:webdependency withpackage:spark_webfor improved type safety and consistency. - Refactor: Event handlers now receive raw
spark_web.Eventobjects directly.
1.0.0-alpha.1 #
- Initial release extracted from
sparkframework package. - Browser VDOM engine:
mount(),mountList(),patch(),createNode(). - Efficient DOM diffing and patching for attributes, events, and children.
- Conditional export: browser implementation with server/VM stubs.
- Depends on
spark_html_dslfor node types.