github lynx-family/lynx-stack @lynx-js/web-elements@0.8.6

latest releases: @lynx-js/web-style-transformer@0.16.1, @lynx-js/web-core@0.16.1, @lynx-js/react-alias-rsbuild-plugin@0.10.14...
17 hours ago

Patch Changes

  • fix: 1. svg use image tag to render, to differentiate background-image styles (#1668)

    1. use blob instead of raw data-uri

    Not using data-uri(data:image/svg+xml;utf8,${props.content})
    since it has follow limitations:

    < and > must be encoded to %3C and %3E.
    Double quotes must be converted to single quotes.
    Colors must use a non-hex format because # will not work inside data-uri.
    See: https://codepen.io/zvuc/pen/BWNLJL
    Instead, we use modern Blob API to create SVG URL that have the same support

  • Updated dependencies [d618304, 1d97fce]:

    • @lynx-js/web-elements-template@0.8.6

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.