Comparing version 17.12.0 to 17.13.0
# CHANGELOG | ||
## 17.13.0 | ||
Css update was moved from before frame to after frame to prevent unstyled icons. | ||
## 17.12.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "bobril", | ||
"version": "17.12.0", | ||
"version": "17.13.0", | ||
"description": "Component Oriented MVC Framework with virtual DOM and CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,2 +6,3 @@ import { CSSStyles, CSSPseudoStyles, CSSStylesItem, CSSInlineStyles } from "./cssTypes"; | ||
destroyDynamicStyle, | ||
IBobrilCacheChildren, | ||
IBobrilCacheNode, | ||
@@ -18,3 +19,3 @@ IBobrilCacheNodeUnsafe, | ||
import { isArray, isFunction, isNumber, isObject, isString } from "./isFunc"; | ||
import { setBeforeFrame } from "./frameCallbacks"; | ||
import { setAfterFrame } from "./frameCallbacks"; | ||
import { getMedia } from "./media"; | ||
@@ -257,3 +258,3 @@ | ||
var chainedBeforeFrame = setBeforeFrame(beforeFrame); | ||
var chainedAfterFrame = setAfterFrame(afterFrame); | ||
@@ -329,3 +330,3 @@ const cssSubRuleDelimiter = /\:|\ |\>/; | ||
function beforeFrame() { | ||
function afterFrame(root: IBobrilCacheChildren | null) { | ||
var currentDppx = getMedia().dppx; | ||
@@ -519,3 +520,3 @@ if (hasBundledSprites && lastDppx != currentDppx) { | ||
} | ||
chainedBeforeFrame(); | ||
chainedAfterFrame(root); | ||
} | ||
@@ -631,3 +632,3 @@ | ||
allAnimations[nameHint] = { name: nameHint, def }; | ||
invalidateStyles(); | ||
rebuildStyles = true; | ||
const res = (params?: string) => { | ||
@@ -677,3 +678,3 @@ if (isString(params)) return params + " " + nameHint; | ||
mediaQuery.push(mediaQueryDefinition); | ||
invalidateStyles(); | ||
rebuildStyles = true; | ||
} | ||
@@ -712,3 +713,3 @@ | ||
allStyles[nameHint]!.realName = style; | ||
} else invalidateStyles(); | ||
} else rebuildStyles = true; | ||
return nameHint as IBobrilStyleDef; | ||
@@ -725,3 +726,3 @@ } | ||
}; | ||
invalidateStyles(); | ||
rebuildStyles = true; | ||
} | ||
@@ -728,0 +729,0 @@ |
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
394688
9435