@plumeria/core 0.24.2 → 0.24.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 +2 -6
- package/dist/index.mjs +2 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -74,14 +74,10 @@ function create(object) {
|
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
76
|
if (Object.keys(nonFlat).length > 0) {
|
|
77
|
-
const
|
|
78
|
-
Object.entries(nonFlat).forEach(([atRule, nestedObj]) => {
|
|
79
|
-
finalNonFlat[atRule] = overrideLonghand(nestedObj);
|
|
80
|
-
});
|
|
81
|
-
const nonFlatObj = { [key]: finalNonFlat };
|
|
77
|
+
const nonFlatObj = { [key]: nonFlat };
|
|
82
78
|
const nonFlatHash = (0, zss_engine.genBase36Hash)(nonFlatObj, 1, 7);
|
|
83
79
|
const { styleSheet } = (0, zss_engine.transpile)(nonFlatObj, nonFlatHash);
|
|
84
|
-
Object.entries(
|
|
80
|
+
Object.entries(nonFlat).forEach(([atRule, nestedObj]) => {
|
|
85
81
|
Object.keys(nestedObj).forEach((prop) => {
|
|
86
82
|
records.push({
|
|
87
83
|
key: atRule + prop,
|
package/dist/index.mjs
CHANGED
|
@@ -74,14 +74,10 @@ function create(object) {
|
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
76
|
if (Object.keys(nonFlat).length > 0) {
|
|
77
|
-
const
|
|
78
|
-
Object.entries(nonFlat).forEach(([atRule, nestedObj]) => {
|
|
79
|
-
finalNonFlat[atRule] = overrideLonghand(nestedObj);
|
|
80
|
-
});
|
|
81
|
-
const nonFlatObj = { [key]: finalNonFlat };
|
|
77
|
+
const nonFlatObj = { [key]: nonFlat };
|
|
82
78
|
const nonFlatHash = genBase36Hash(nonFlatObj, 1, 7);
|
|
83
79
|
const { styleSheet } = transpile(nonFlatObj, nonFlatHash);
|
|
84
|
-
Object.entries(
|
|
80
|
+
Object.entries(nonFlat).forEach(([atRule, nestedObj]) => {
|
|
85
81
|
Object.keys(nestedObj).forEach((prop) => {
|
|
86
82
|
records.push({
|
|
87
83
|
key: atRule + prop,
|