Merge branch 'snabbdom:master' into fix-issue-976

pull/995/head
DM|全渣攻城獅 3 years ago committed by GitHub
commit a4211aa1fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,9 @@
## [3.3.1](https://github.com/snabbdom/snabbdom/compare/v3.3.0...v3.3.1) (2022-01-18)
### Bug Fixes
- ensure SVG namespaces are added to nodes ([#996](https://github.com/snabbdom/snabbdom/issues/996)) ([f89f085](https://github.com/snabbdom/snabbdom/commit/f89f085f558baf6a41b43ffa50c9b5b1b1c6b034)), closes [#388](https://github.com/snabbdom/snabbdom/issues/388) [#867](https://github.com/snabbdom/snabbdom/issues/867)
# [3.3.0](https://github.com/snabbdom/snabbdom/compare/v3.2.0...v3.3.0) (2022-01-17)
### Features

@ -524,20 +524,6 @@ In JSX, you can use `style` like this:
// Renders as: <div style="border: 1px solid #bada55; color: #c0ffee; font-weight: bold"></div>
```
Note that the style module does not remove style attributes if they
are removed as properties from the style object. To remove a style,
you should instead set it to the empty string.
```mjs
h(
"div",
{
style: { position: shouldFollow ? "fixed" : "" },
},
"I, I follow, I follow you"
);
```
#### Custom properties (CSS variables)
CSS custom properties (aka CSS variables) are supported, they must be prefixed

4
package-lock.json generated

@ -1,12 +1,12 @@
{
"name": "snabbdom",
"version": "3.3.0",
"version": "3.3.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "snabbdom",
"version": "3.3.0",
"version": "3.3.1",
"license": "MIT",
"devDependencies": {
"@release-it/conventional-changelog": "^4.1.0",

@ -1,6 +1,6 @@
{
"name": "snabbdom",
"version": "3.3.0",
"version": "3.3.1",
"description": "A virtual DOM library with focus on simplicity, modularity, powerful features and performance.",
"homepage": "https://github.com/snabbdom/snabbdom#readme",
"repository": {

Loading…
Cancel
Save