From 44afd386827139a1159cc40d8caa813e2da6e826 Mon Sep 17 00:00:00 2001 From: Censwin <49546849+Censwin@users.noreply.github.com> Date: Tue, 18 Jan 2022 17:04:02 +0800 Subject: [PATCH 1/2] chore(docs): style module does remove styles if removed from the object (#1001) ISSUES FIXED: #1000 --- README.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/README.md b/README.md index 191243b..de4f448 100644 --- a/README.md +++ b/README.md @@ -524,20 +524,6 @@ In JSX, you can use `style` like this: // Renders as:
``` -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 From b130c26cc1ed4fc03f51b6425a24c19757ccce44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20van=20Br=C3=BCgge?= Date: Tue, 18 Jan 2022 10:22:26 +0100 Subject: [PATCH 2/2] chore(release): v3.3.1 --- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cba902..b89d9f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package-lock.json b/package-lock.json index 8026f7a..cea754c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index a5423eb..157ba33 100644 --- a/package.json +++ b/package.json @@ -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": {