Comparing version 20.1.0 to 20.2.0
# CHANGELOG | ||
## 20.2.0 | ||
Added optional `slot` property into `wrapWebComponents` function to be able use named slots in wrapped web components. | ||
## 20.1.1 | ||
Fixed regression in 20.1.0 when sprite was directly used in styleDef. | ||
## 20.1.0 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "bobril", | ||
"version": "20.1.0", | ||
"version": "20.2.0", | ||
"description": "Component Oriented MVC Framework with virtual DOM and CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -290,2 +290,7 @@ import { CSSStyles, CSSPseudoStyles, CSSStylesItem, CSSInlineStyles } from "./cssTypes"; | ||
if (isString(style)) { | ||
if (unusedBundled.has(style)) { | ||
unusedBundled.get(style)!.used = true; | ||
unusedBundled.delete(style); | ||
invalidateStyles(); | ||
} | ||
let externalStyle = allStyles[style]; | ||
@@ -292,0 +297,0 @@ if (externalStyle === undefined) { |
@@ -15,2 +15,3 @@ import { | ||
id?: string; | ||
slot?: string; | ||
style?: IBobrilStyles; | ||
@@ -29,3 +30,3 @@ children?: IBobrilChildren; | ||
): (data?: TData) => IBobrilNode { | ||
props = ["id", ...props]; | ||
props = ["id", "slot", ...props]; | ||
const component = { | ||
@@ -32,0 +33,0 @@ id: name, |
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
390919
9302