Minor Changes
-
feat: improve compatibility for chrome 108 & support linear-gradient for nested x-text (#590)
This is a breaking change
- Please upgrade your
@lynx-js/web-elements
to >=0.6.0 - Please upgrade your
@lynx-js/web-core
to >=0.12.0 - The compiled lynx template json won't be impacted.
On chrome 108, the
-webkit-background-clip:text
cannot be computed by avar(--css-var-value-text)
Therefore we move the logic into style transformation logic.
Now the following status is supported
<text style="color:linear-gradient()"> <text> <text> </text>
- Please upgrade your
Patch Changes
-
feat: allow user to implement custom template load function (#587)
lynxView.customTemplateLoader = (url) => { return (await (await fetch(url, { method: 'GET', })).json()); };
-
feat: support mts event with target methods (#564)
After this commit, developers are allowed to invoke
event.target.setStyleProperty
in mts handler -
fix: crash on removing a id attribute (#582)
-
Updated dependencies [
f1ca29b
]:- @lynx-js/web-worker-runtime@0.12.0
- @lynx-js/web-constants@0.12.0
- @lynx-js/web-worker-rpc@0.12.0