Patch Changes
-
fix:
__AddClasstriggers style updates whenenableCSSSelectorisfalse(#2515)__AddClasswas missing the expected call toupdate_css_og_stylewhen CSS selectors are disabled (enableCSSSelector: false). With this fix, dynamically adding a class correctly delegates style population from the template AST into the DOM, mirroring the behavior of__SetClasses.Added behavioral unit test and end-to-end playwright validations using dynamically generated JSON AST
styleInfomocks. -
fix(web-core): skip setting lynxEntryNameAttribute for Card and use constants for server element APIs (#2510)
-
Fix componentCSSID behavior for SSR and main thread by calculating element css_id from parent component correctly. (#2495)
-
fix: avoid panic in dispatch_event_by_path when element data cannot be retrieved (#2508)
-
fix: filter out -1 uniqueId in commonEventHandler (#2493)
-
feat: add x-markdown support (#2412)
Add opt-in support for the
x-markdownelement on Lynx Web, including
Markdown rendering together with its related styling, interaction, animation,
truncation, range rendering, and effect capabilities exposed through the
component API.Update the
web-core,web-core-wasm, andweb-mainthread-apisruntime
paths to use the shared property-or-attribute setter fromweb-constants, so
custom elements such asx-markdowncan receive structured property values
correctly instead of being forced through string-only attribute updates.import '@lynx-js/web-elements/XMarkdown';
-
fix: transformVH not work with cqw unit as the base length (#2469)
-
fix: add cardType resolution for legacy json lynx bundle (#2510)
-
fix: the default value of rpx is supposed to be 1/750 cqw (#2469)
-
Updated dependencies [
e179680,647334c,fb7bc84,9454dc4,bdec498,b0247f9,eec539a]:- @lynx-js/css-serializer@0.1.6
- @lynx-js/web-elements@0.12.1
- @lynx-js/web-worker-rpc@0.20.3