@plumeria/core 0.14.8 → 0.14.10

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 CHANGED
@@ -107,9 +107,10 @@ function props(...objects) {
107
107
  uniqueStyleSheets.forEach((sheet) => injectedStyleSheets.add(sheet));
108
108
  if (typeof require_css.globalPromise_1 === "undefined") require_css.initPromise_1();
109
109
  require_css.resolvePromise_1(uniqueStyleSheets.join(""));
110
- const classNameHashes = classList.join(" ");
111
- if (zss_engine.isTestingDevelopment) injectIfNeeded(classNameHashes, uniqueStyleSheets.join(""));
112
- return classNameHashes;
110
+ if (zss_engine.isTestingDevelopment) {
111
+ for (const { hash, sheet } of [...orderedKeys, ...rightmostKeys]) if (uniqueStyleSheets.includes(sheet)) injectIfNeeded(hash, sheet);
112
+ }
113
+ return classList.join(" ");
113
114
  }
114
115
 
115
116
  function global(object) {
package/dist/index.mjs CHANGED
@@ -106,9 +106,10 @@ function props(...objects) {
106
106
  uniqueStyleSheets.forEach((sheet) => injectedStyleSheets.add(sheet));
107
107
  if (typeof globalPromise_1 === "undefined") initPromise_1();
108
108
  resolvePromise_1(uniqueStyleSheets.join(""));
109
- const classNameHashes = classList.join(" ");
110
- if (isTestingDevelopment) injectIfNeeded(classNameHashes, uniqueStyleSheets.join(""));
111
- return classNameHashes;
109
+ if (isTestingDevelopment) {
110
+ for (const { hash, sheet } of [...orderedKeys, ...rightmostKeys]) if (uniqueStyleSheets.includes(sheet)) injectIfNeeded(hash, sheet);
111
+ }
112
+ return classList.join(" ");
112
113
  }
113
114
 
114
115
  function global(object) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "0.14.8",
3
+ "version": "0.14.10",
4
4
  "description": "A library for Scalable and optimized styling",
5
5
  "keywords": [
6
6
  "css",
@@ -39,7 +39,7 @@
39
39
  "stylesheet.css"
40
40
  ],
41
41
  "dependencies": {
42
- "zss-engine": "0.2.71",
42
+ "zss-engine": "0.2.72",
43
43
  "zss-utils": "0.2.4"
44
44
  },
45
45
  "publishConfig": {