meno-core 1.0.47 → 1.0.48
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/build-astro.ts +2 -2
- package/dist/build-static.js +7 -7
- package/dist/chunks/{chunk-FED5MME6.js → chunk-3FHJUHAS.js} +5 -4
- package/dist/chunks/chunk-3FHJUHAS.js.map +7 -0
- package/dist/chunks/{chunk-XSWR3QLI.js → chunk-B2RTLDXY.js} +130 -130
- package/dist/chunks/chunk-B2RTLDXY.js.map +7 -0
- package/dist/chunks/{chunk-ZTKHJQ2Z.js → chunk-BJRKEPMP.js} +2 -2
- package/dist/chunks/{chunk-LJFB5EBT.js → chunk-D5E3OKSL.js} +5 -5
- package/dist/chunks/{chunk-KITQJYZV.js → chunk-EK4KESLU.js} +33 -3
- package/dist/chunks/chunk-EK4KESLU.js.map +7 -0
- package/dist/chunks/{chunk-47UNLQUU.js → chunk-NKUV77SR.js} +43 -10
- package/dist/chunks/chunk-NKUV77SR.js.map +7 -0
- package/dist/chunks/{chunk-BCLGRZ3U.js → chunk-NP76N4HQ.js} +2 -2
- package/dist/chunks/{chunk-IF3RATBY.js → chunk-RQSTH2BS.js} +2 -2
- package/dist/chunks/{chunk-FGUZOYJX.js → chunk-TPQ7APVQ.js} +23 -75
- package/dist/chunks/chunk-TPQ7APVQ.js.map +7 -0
- package/dist/chunks/{configService-DYCUEURL.js → configService-IGJEC3MC.js} +3 -3
- package/dist/entries/server-router.js +8 -8
- package/dist/lib/client/index.js +13 -3
- package/dist/lib/client/index.js.map +2 -2
- package/dist/lib/server/index.js +1737 -296
- package/dist/lib/server/index.js.map +4 -4
- package/dist/lib/shared/index.js +8 -4
- package/dist/lib/shared/index.js.map +1 -1
- package/lib/client/core/ComponentBuilder.test.ts +17 -0
- package/lib/client/core/ComponentBuilder.ts +17 -0
- package/lib/server/index.ts +1 -1
- package/lib/server/jsonLoader.test.ts +0 -17
- package/lib/server/jsonLoader.ts +0 -81
- package/lib/server/routes/api/variables.ts +4 -2
- package/lib/server/ssr/htmlGenerator.test.ts +1 -2
- package/lib/server/ssr/htmlGenerator.ts +2 -2
- package/lib/server/ssr/ssrRenderer.test.ts +56 -1
- package/lib/server/ssr/ssrRenderer.ts +34 -28
- package/lib/server/utils/jsonLineMapper.test.ts +53 -1
- package/lib/server/utils/jsonLineMapper.ts +43 -3
- package/lib/server/webflow/buildWebflow.ts +343 -123
- package/lib/server/webflow/index.ts +1 -0
- package/lib/server/webflow/nodeToWebflow.test.ts +3170 -0
- package/lib/server/webflow/nodeToWebflow.ts +2141 -129
- package/lib/server/webflow/styleMapper.test.ts +389 -0
- package/lib/server/webflow/styleMapper.ts +517 -63
- package/lib/server/webflow/templateWrapper.ts +49 -0
- package/lib/server/webflow/types.ts +218 -18
- package/lib/shared/elementClassName.test.ts +15 -0
- package/lib/shared/elementClassName.ts +7 -3
- package/lib/shared/registry/nodeTypes/ListNodeType.ts +1 -1
- package/lib/shared/types/index.ts +1 -0
- package/lib/shared/types/variables.ts +37 -0
- package/package.json +1 -1
- package/dist/chunks/chunk-47UNLQUU.js.map +0 -7
- package/dist/chunks/chunk-FED5MME6.js.map +0 -7
- package/dist/chunks/chunk-FGUZOYJX.js.map +0 -7
- package/dist/chunks/chunk-KITQJYZV.js.map +0 -7
- package/dist/chunks/chunk-XSWR3QLI.js.map +0 -7
- /package/dist/chunks/{chunk-ZTKHJQ2Z.js.map → chunk-BJRKEPMP.js.map} +0 -0
- /package/dist/chunks/{chunk-LJFB5EBT.js.map → chunk-D5E3OKSL.js.map} +0 -0
- /package/dist/chunks/{chunk-BCLGRZ3U.js.map → chunk-NP76N4HQ.js.map} +0 -0
- /package/dist/chunks/{chunk-IF3RATBY.js.map → chunk-RQSTH2BS.js.map} +0 -0
- /package/dist/chunks/{configService-DYCUEURL.js.map → configService-IGJEC3MC.js.map} +0 -0
package/build-astro.ts
CHANGED
|
@@ -32,7 +32,7 @@ import { generateThemeColorVariablesCSS, generateVariablesCSS } from "./lib/serv
|
|
|
32
32
|
import { colorService } from "./lib/server/services/ColorService";
|
|
33
33
|
import { variableService } from "./lib/server/services/VariableService";
|
|
34
34
|
import { configService } from "./lib/server/services/configService";
|
|
35
|
-
import { loadBreakpointConfig,
|
|
35
|
+
import { loadBreakpointConfig, loadIconsConfig } from "./lib/server/jsonLoader";
|
|
36
36
|
import type { InteractiveStyles } from "./lib/shared/types/styles";
|
|
37
37
|
import { collectComponentLibraries, filterLibrariesByContext, mergeLibraries, generateLibraryTags } from "./lib/shared/libraryLoader";
|
|
38
38
|
import { migrateTemplatesDirectory } from "./lib/server/migrateTemplates";
|
|
@@ -322,10 +322,10 @@ export async function buildAstroProject(
|
|
|
322
322
|
const themeConfig = await colorService.loadThemeConfig();
|
|
323
323
|
const variablesConfig = await variableService.loadConfig();
|
|
324
324
|
const breakpoints = await loadBreakpointConfig();
|
|
325
|
-
const responsiveScales = await loadResponsiveScalesConfig();
|
|
326
325
|
|
|
327
326
|
// Libraries (global + component)
|
|
328
327
|
await configService.load();
|
|
328
|
+
const responsiveScales = configService.getResponsiveScales();
|
|
329
329
|
const globalLibraries = configService.getLibraries();
|
|
330
330
|
const componentLibraries = collectComponentLibraries(globalComponents);
|
|
331
331
|
|
package/dist/build-static.js
CHANGED
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
hashContent,
|
|
10
10
|
injectTrackingScript,
|
|
11
11
|
isCMSPage
|
|
12
|
-
} from "./chunks/chunk-
|
|
13
|
-
import "./chunks/chunk-
|
|
14
|
-
import "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-D5E3OKSL.js";
|
|
13
|
+
import "./chunks/chunk-TPQ7APVQ.js";
|
|
14
|
+
import "./chunks/chunk-BJRKEPMP.js";
|
|
15
15
|
import "./chunks/chunk-I7YIGZXT.js";
|
|
16
16
|
import "./chunks/chunk-WQFG7PAH.js";
|
|
17
|
-
import "./chunks/chunk-
|
|
18
|
-
import "./chunks/chunk-
|
|
19
|
-
import "./chunks/chunk-
|
|
20
|
-
import "./chunks/chunk-
|
|
17
|
+
import "./chunks/chunk-EK4KESLU.js";
|
|
18
|
+
import "./chunks/chunk-NP76N4HQ.js";
|
|
19
|
+
import "./chunks/chunk-3FHJUHAS.js";
|
|
20
|
+
import "./chunks/chunk-B2RTLDXY.js";
|
|
21
21
|
import "./chunks/chunk-UB44F4Z2.js";
|
|
22
22
|
import "./chunks/chunk-2QK6U5UK.js";
|
|
23
23
|
import "./chunks/chunk-KSBZ2L7C.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveI18nValue,
|
|
12
12
|
scalePropertyValue,
|
|
13
13
|
shouldConvertProperty
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-B2RTLDXY.js";
|
|
15
15
|
import {
|
|
16
16
|
isTiptapDocument,
|
|
17
17
|
tiptapToHtml
|
|
@@ -1536,7 +1536,7 @@ var init_ListNodeType = __esm({
|
|
|
1536
1536
|
children: []
|
|
1537
1537
|
},
|
|
1538
1538
|
treeDisplay: {
|
|
1539
|
-
icon: "
|
|
1539
|
+
icon: "ARRAY",
|
|
1540
1540
|
getLabel: (node) => {
|
|
1541
1541
|
const listNode = node;
|
|
1542
1542
|
const sourceType = listNode.sourceType || "prop";
|
|
@@ -3648,7 +3648,7 @@ function shortHash(input) {
|
|
|
3648
3648
|
for (let i = 0; i < input.length; i++) {
|
|
3649
3649
|
hash = (hash << 5) + hash ^ input.charCodeAt(i);
|
|
3650
3650
|
}
|
|
3651
|
-
return Math.abs(hash).toString(36).slice(
|
|
3651
|
+
return Math.abs(hash).toString(36).slice(-5);
|
|
3652
3652
|
}
|
|
3653
3653
|
function sanitizeName(name) {
|
|
3654
3654
|
return name.toLowerCase().replace(/[^a-z0-9_-]/g, "_").replace(/_+/g, "_").replace(/^_|_$/g, "");
|
|
@@ -4789,6 +4789,7 @@ export {
|
|
|
4789
4789
|
pathsEqual,
|
|
4790
4790
|
convertPagePathToComponentPath,
|
|
4791
4791
|
convertComponentPathToPagePath,
|
|
4792
|
+
shortHash,
|
|
4792
4793
|
generateElementClassName,
|
|
4793
4794
|
isElementClassName,
|
|
4794
4795
|
parseElementClassName,
|
|
@@ -4810,4 +4811,4 @@ export {
|
|
|
4810
4811
|
generateInteractiveCSS,
|
|
4811
4812
|
generateAllInteractiveCSS
|
|
4812
4813
|
};
|
|
4813
|
-
//# sourceMappingURL=chunk-
|
|
4814
|
+
//# sourceMappingURL=chunk-3FHJUHAS.js.map
|