@plumeria/core 0.15.1 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -97,7 +97,7 @@ function props(...objects) {
|
|
|
97
97
|
if (typeof require_css.globalPromise_1 === "undefined") require_css.initPromise_1();
|
|
98
98
|
require_css.resolvePromise_1(uniqueStyleSheets.join(""));
|
|
99
99
|
if (zss_engine.isTestingDevelopment && !zss_engine.isServer) {
|
|
100
|
-
for (const { hash, sheet } of [...orderedKeys, ...rightmostKeys]) if (uniqueStyleSheets.includes(sheet)) (0, zss_engine.injectClientCSS)(hash, sheet);
|
|
100
|
+
for (const { hash, sheet } of [...orderedKeys, ...rightmostKeys]) if (uniqueStyleSheets.includes(sheet) && !(0, zss_engine.isHashInStyleSheets)(hash)) (0, zss_engine.injectClientCSS)(hash, sheet);
|
|
101
101
|
}
|
|
102
102
|
return classList.join(" ");
|
|
103
103
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { globalPromise_1, globalPromise_2, initPromise_1, initPromise_2, resolvePromise_1, resolvePromise_2 } from "./css.mjs";
|
|
2
|
-
import { camelToKebabCase, genBase36Hash, injectClientCSS, injectClientGlobalCSS, isServer, isTestingDevelopment, processAtomicProps, splitAtomicAndNested, transpile } from "zss-engine";
|
|
2
|
+
import { camelToKebabCase, genBase36Hash, injectClientCSS, injectClientGlobalCSS, isHashInStyleSheets, isServer, isTestingDevelopment, processAtomicProps, splitAtomicAndNested, transpile } from "zss-engine";
|
|
3
3
|
|
|
4
4
|
const styleAtomMap = new WeakMap();
|
|
5
5
|
function create(object) {
|
|
@@ -96,7 +96,7 @@ function props(...objects) {
|
|
|
96
96
|
if (typeof globalPromise_1 === "undefined") initPromise_1();
|
|
97
97
|
resolvePromise_1(uniqueStyleSheets.join(""));
|
|
98
98
|
if (isTestingDevelopment && !isServer) {
|
|
99
|
-
for (const { hash, sheet } of [...orderedKeys, ...rightmostKeys]) if (uniqueStyleSheets.includes(sheet)) injectClientCSS(hash, sheet);
|
|
99
|
+
for (const { hash, sheet } of [...orderedKeys, ...rightmostKeys]) if (uniqueStyleSheets.includes(sheet) && !isHashInStyleSheets(hash)) injectClientCSS(hash, sheet);
|
|
100
100
|
}
|
|
101
101
|
return classList.join(" ");
|
|
102
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/core",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "A library for scalable and optimized styling",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"stylesheet.css"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"zss-engine": "0.2.
|
|
34
|
+
"zss-engine": "0.2.77"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|