@tailor-cms/tce-preview-runtime 2.0.0-beta.0 → 2.0.0-beta.2
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/package.json +14 -14
- package/public/robots.txt +2 -0
- package/src/components/AppBar.vue +10 -2
- package/src/components/MainLayout.vue +9 -2
- package/src/components/SplashLoader.vue +3 -3
- package/src/index.html +1 -0
- package/tsconfig.json +1 -2
- package/tsconfig.node.json +2 -2
- package/vite.config.ts +1 -0
package/package.json
CHANGED
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
"name": "@tailor-cms/tce-preview-runtime",
|
|
3
3
|
"description": "Preview content element client side runtime",
|
|
4
4
|
"author": "Studion <info@gostudion.com>",
|
|
5
|
-
"version": "2.0.0-beta.
|
|
5
|
+
"version": "2.0.0-beta.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mdi/font": "7.4.47",
|
|
9
|
-
"@vitejs/plugin-vue": "6.0.5",
|
|
10
|
-
"@vueuse/core": "14.2.1",
|
|
8
|
+
"@mdi/font": "^7.4.47",
|
|
9
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
10
|
+
"@vueuse/core": "^14.2.1",
|
|
11
11
|
"date-fns": "^4.1.0",
|
|
12
|
-
"lodash-es": "^4.
|
|
13
|
-
"sass": "1.
|
|
14
|
-
"split.js": "1.6.5",
|
|
12
|
+
"lodash-es": "^4.18.1",
|
|
13
|
+
"sass": "^1.99.0",
|
|
14
|
+
"split.js": "^1.6.5",
|
|
15
15
|
"stringify-object": "^6.0.0",
|
|
16
|
-
"typescript": "
|
|
17
|
-
"vite": "8.0.
|
|
18
|
-
"vite-plugin-vuetify": "2.1.3",
|
|
19
|
-
"vue": "3.5.
|
|
20
|
-
"vuetify": "4.0.
|
|
21
|
-
"@tailor-cms/cek-common": "^2.0.0-beta.
|
|
16
|
+
"typescript": "^6.0.2",
|
|
17
|
+
"vite": "^8.0.6",
|
|
18
|
+
"vite-plugin-vuetify": "^2.1.3",
|
|
19
|
+
"vue": "^3.5.32",
|
|
20
|
+
"vuetify": "^4.0.5",
|
|
21
|
+
"@tailor-cms/cek-common": "^2.0.0-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/lodash-es": "^4.17.12",
|
|
25
25
|
"@types/stringify-object": "^4.0.5",
|
|
26
|
-
"@tailor-cms/eslint-config": "^2.0.0-beta.
|
|
26
|
+
"@tailor-cms/eslint-config": "^2.0.0-beta.2"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
@@ -28,8 +28,16 @@
|
|
|
28
28
|
@click="showBothComponents"
|
|
29
29
|
/>
|
|
30
30
|
</VBtnToggle>
|
|
31
|
-
<VBtn
|
|
32
|
-
|
|
31
|
+
<VBtn
|
|
32
|
+
aria-label="GitHub"
|
|
33
|
+
href="https://github.com/tailor-cms/tce-template"
|
|
34
|
+
icon="mdi-github"
|
|
35
|
+
/>
|
|
36
|
+
<VBtn
|
|
37
|
+
aria-label="Documentation"
|
|
38
|
+
href="https://tailor-cms.github.io/xt/"
|
|
39
|
+
icon="mdi-book-outline"
|
|
40
|
+
/>
|
|
33
41
|
</VAppBar>
|
|
34
42
|
</template>
|
|
35
43
|
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
id="panelBottom"
|
|
8
8
|
:element="element"
|
|
9
9
|
:user-state="userState"
|
|
10
|
-
class="preview-panel-bottom"
|
|
11
10
|
@reset-element="$emit('resetElement')"
|
|
12
11
|
@reset-state="$emit('resetState')"
|
|
13
12
|
/>
|
|
@@ -51,9 +50,17 @@ const setupPreview = () => {
|
|
|
51
50
|
|
|
52
51
|
<style>
|
|
53
52
|
main {
|
|
53
|
+
position: relative;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
54
56
|
height: calc(100vh - var(--nav-height));
|
|
55
57
|
|
|
56
|
-
|
|
58
|
+
#panelTop {
|
|
59
|
+
height: calc(70% - 5px);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#panelBottom {
|
|
63
|
+
height: calc(30% - 5px);
|
|
57
64
|
background-color: #eceff1;
|
|
58
65
|
overflow-y: auto;
|
|
59
66
|
}
|
package/src/index.html
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<link rel="icon" href="/favicon.ico" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<meta name="description" content="Content Element Kit — development environment for building Tailor CMS content elements" />
|
|
7
8
|
<title>Content Element Kit</title>
|
|
8
9
|
</head>
|
|
9
10
|
<body class="overflow-hidden">
|
package/tsconfig.json
CHANGED
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
"target": "ESNext",
|
|
4
4
|
"useDefineForClassFields": true,
|
|
5
5
|
"module": "ESNext",
|
|
6
|
-
"moduleResolution": "
|
|
6
|
+
"moduleResolution": "bundler",
|
|
7
7
|
"strict": true,
|
|
8
8
|
"jsx": "preserve",
|
|
9
9
|
"sourceMap": true,
|
|
10
10
|
"resolveJsonModule": true,
|
|
11
11
|
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
12
|
"lib": ["ESNext", "DOM"],
|
|
14
13
|
"skipLibCheck": true
|
|
15
14
|
},
|
package/tsconfig.node.json
CHANGED
package/vite.config.ts
CHANGED