Comparing version 17.3.0 to 17.4.0
# CHANGELOG | ||
## 17.4.0 | ||
Added new function `isSvgSprite`. | ||
Fixed update of element attributes when updated from undefined to object. | ||
## 17.3.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "bobril", | ||
"version": "17.3.0", | ||
"version": "17.4.0", | ||
"description": "Component Oriented MVC Framework with virtual DOM and CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -922,2 +922,8 @@ import { CSSStyles, CSSPseudoStyles, CSSStylesItem, CSSInlineStyles } from "./cssTypes"; | ||
export function isSvgSprite(id: ColorlessSprite) { | ||
let orig = colorLessSpriteMap.get(id); | ||
if (orig == undefined) throw new Error(id + " is not colorless sprite"); | ||
return "svg" in orig; | ||
} | ||
/// Function can take colors as functions but they are evaluated immediately => use only in render like function | ||
@@ -924,0 +930,0 @@ export function svgWithColor( |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
387605