@eldrajs/theme-core 0.0.0 → 0.2.0

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +311 -0
  2. package/LICENSE +21 -0
  3. package/README.md +68 -1
  4. package/dist/bridge-CLi2P6Wh.js +314 -0
  5. package/dist/bridge.d.ts +2 -0
  6. package/dist/bridge.js +2 -0
  7. package/dist/design-tokens.d.ts +68 -0
  8. package/dist/design-tokens.js +486 -0
  9. package/dist/dynamic-route.d.ts +2 -0
  10. package/dist/dynamic-route.js +3 -0
  11. package/dist/dynamicRoute-CxXY-Y_8.js +126 -0
  12. package/dist/dynamicRoute-pRTBoYT6.d.ts +55 -0
  13. package/dist/i18n.d.ts +107 -0
  14. package/dist/i18n.js +192 -0
  15. package/dist/image-framing.d.ts +2 -0
  16. package/dist/image-framing.js +109 -0
  17. package/dist/imageFraming-BUZ-yqho.d.ts +51 -0
  18. package/dist/index-DxrkKyG4.d.ts +488 -0
  19. package/dist/index.d.ts +449 -0
  20. package/dist/index.js +1141 -0
  21. package/dist/layout-CWq_v6ws.d.ts +244 -0
  22. package/dist/layout.d.ts +2 -0
  23. package/dist/layout.js +930 -0
  24. package/dist/links.d.ts +113 -0
  25. package/dist/links.js +184 -0
  26. package/dist/overlay-Bgi0tIbN.d.ts +201 -0
  27. package/dist/overlay-C8-F1jzU.js +2908 -0
  28. package/dist/overlay.d.ts +2 -0
  29. package/dist/overlay.js +6 -0
  30. package/dist/preview-router.d.ts +2 -0
  31. package/dist/preview-router.js +130 -0
  32. package/dist/reusable.d.ts +66 -0
  33. package/dist/reusable.js +92 -0
  34. package/dist/reusableExpansion-Bqm83nCJ.js +229 -0
  35. package/dist/reusableExpansion-CXvs_ckx.d.ts +42 -0
  36. package/dist/stega.d.ts +17 -0
  37. package/dist/stega.js +69 -0
  38. package/dist/template-layout.d.ts +3 -0
  39. package/dist/template-layout.js +3 -0
  40. package/dist/templateLayout-CpZb6EEg.js +382 -0
  41. package/dist/templateLayout-MjNs0gbF.d.ts +254 -0
  42. package/package.json +89 -2
package/package.json CHANGED
@@ -1,11 +1,98 @@
1
1
  {
2
2
  "name": "@eldrajs/theme-core",
3
- "version": "0.0.0",
4
- "description": "Placeholder that reserved the name for trusted publishing. Install a real version.",
3
+ "version": "0.2.0",
4
+ "description": "Framework-free core of the Eldra theme SDK: the Studio preview bridge, stega encoding, the overlay runtime, layout CSS, rich-text positions, design tokens and image framing.",
5
+ "keywords": [
6
+ "cms",
7
+ "eldra",
8
+ "headless",
9
+ "page-builder",
10
+ "preview",
11
+ "theme"
12
+ ],
13
+ "homepage": "https://github.com/eldra-is/headless-kit/tree/main/packages/theme-core#readme",
14
+ "bugs": "https://github.com/eldra-is/headless-kit/issues",
5
15
  "license": "MIT",
6
16
  "repository": {
7
17
  "type": "git",
8
18
  "url": "git+https://github.com/eldra-is/headless-kit.git",
9
19
  "directory": "packages/theme-core"
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "CHANGELOG.md",
24
+ "LICENSE"
25
+ ],
26
+ "type": "module",
27
+ "sideEffects": false,
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ },
33
+ "./bridge": {
34
+ "types": "./dist/bridge.d.ts",
35
+ "import": "./dist/bridge.js"
36
+ },
37
+ "./stega": {
38
+ "types": "./dist/stega.d.ts",
39
+ "import": "./dist/stega.js"
40
+ },
41
+ "./overlay": {
42
+ "types": "./dist/overlay.d.ts",
43
+ "import": "./dist/overlay.js"
44
+ },
45
+ "./preview-router": {
46
+ "types": "./dist/preview-router.d.ts",
47
+ "import": "./dist/preview-router.js"
48
+ },
49
+ "./layout": {
50
+ "types": "./dist/layout.d.ts",
51
+ "import": "./dist/layout.js"
52
+ },
53
+ "./dynamic-route": {
54
+ "types": "./dist/dynamic-route.d.ts",
55
+ "import": "./dist/dynamic-route.js"
56
+ },
57
+ "./links": {
58
+ "types": "./dist/links.d.ts",
59
+ "import": "./dist/links.js"
60
+ },
61
+ "./template-layout": {
62
+ "types": "./dist/template-layout.d.ts",
63
+ "import": "./dist/template-layout.js"
64
+ },
65
+ "./reusable": {
66
+ "types": "./dist/reusable.d.ts",
67
+ "import": "./dist/reusable.js"
68
+ },
69
+ "./design-tokens": {
70
+ "types": "./dist/design-tokens.d.ts",
71
+ "import": "./dist/design-tokens.js"
72
+ },
73
+ "./image-framing": {
74
+ "types": "./dist/image-framing.d.ts",
75
+ "import": "./dist/image-framing.js"
76
+ },
77
+ "./i18n": {
78
+ "types": "./dist/i18n.d.ts",
79
+ "import": "./dist/i18n.js"
80
+ },
81
+ "./package.json": "./package.json"
82
+ },
83
+ "publishConfig": {
84
+ "access": "public",
85
+ "provenance": true
86
+ },
87
+ "devDependencies": {
88
+ "jsdom": "^30.1.0"
89
+ },
90
+ "engines": {
91
+ "node": ">=20"
92
+ },
93
+ "scripts": {
94
+ "build": "tsdown",
95
+ "typecheck": "tsc -p tsconfig.json",
96
+ "test": "vitest run"
10
97
  }
11
98
  }