github lynx-family/lynx-stack @lynx-js/web-core@0.20.3

latest releases: @lynx-js/css-extract-webpack-plugin@0.7.1, upgrade-rspeedy@0.14.3, @lynx-js/template-webpack-plugin@0.11.0...
5 hours ago

Patch Changes

  • fix: __AddClass triggers style updates when enableCSSSelector is false (#2515)

    __AddClass was missing the expected call to update_css_og_style when 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 styleInfo mocks.

  • 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-markdown element 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, and web-mainthread-apis runtime
    paths to use the shared property-or-attribute setter from web-constants, so
    custom elements such as x-markdown can 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

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.