@gallop.software/studio 1.6.3 → 1.6.5
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/app/{layout.js → layout.tsx} +9 -2
- package/app/next.config.mjs +11 -0
- package/app/page.tsx +93 -0
- package/dist/{StudioUI-QZ54STXE.mjs → StudioUI-B2DX5RW6.mjs} +26 -9
- package/dist/StudioUI-B2DX5RW6.mjs.map +1 -0
- package/dist/{StudioUI-GJK45R3T.js → StudioUI-XZSXU52A.js} +26 -9
- package/dist/StudioUI-XZSXU52A.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/app/page.js +0 -77
- package/dist/StudioUI-GJK45R3T.js.map +0 -1
- package/dist/StudioUI-QZ54STXE.mjs.map +0 -1
- /package/app/api/studio/[...path]/{route.js → route.ts} +0 -0
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var _chunkN6JYTJCBjs = require('./chunk-N6JYTJCB.js');
|
|
|
14
14
|
var _react = require('react');
|
|
15
15
|
var _react3 = require('@emotion/react');
|
|
16
16
|
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
17
|
-
var StudioUI = _react.lazy.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./StudioUI-
|
|
17
|
+
var StudioUI = _react.lazy.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./StudioUI-XZSXU52A.js"))));
|
|
18
18
|
var spin = _react3.keyframes`
|
|
19
19
|
to {
|
|
20
20
|
transform: rotate(360deg);
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { useState, useEffect, lazy, Suspense } from "react";
|
|
15
15
|
import { css, keyframes } from "@emotion/react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
17
|
-
var StudioUI = lazy(() => import("./StudioUI-
|
|
17
|
+
var StudioUI = lazy(() => import("./StudioUI-B2DX5RW6.mjs"));
|
|
18
18
|
var spin = keyframes`
|
|
19
19
|
to {
|
|
20
20
|
transform: rotate(360deg);
|
package/package.json
CHANGED
package/app/page.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import dynamic from 'next/dynamic'
|
|
4
|
-
|
|
5
|
-
const StudioUI = dynamic(
|
|
6
|
-
() => import('@gallop.software/studio').then((m) => m.StudioUI),
|
|
7
|
-
{
|
|
8
|
-
ssr: false,
|
|
9
|
-
loading: () => (
|
|
10
|
-
<div style={styles.loading}>
|
|
11
|
-
<div style={styles.loadingContent}>
|
|
12
|
-
<div style={styles.spinner} />
|
|
13
|
-
<p style={styles.loadingText}>Loading Studio...</p>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
),
|
|
17
|
-
}
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
const styles = {
|
|
21
|
-
container: {
|
|
22
|
-
position: 'fixed',
|
|
23
|
-
top: 0,
|
|
24
|
-
left: 0,
|
|
25
|
-
right: 0,
|
|
26
|
-
bottom: 0,
|
|
27
|
-
background: '#0a0a0a',
|
|
28
|
-
fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif`,
|
|
29
|
-
},
|
|
30
|
-
loading: {
|
|
31
|
-
display: 'flex',
|
|
32
|
-
alignItems: 'center',
|
|
33
|
-
justifyContent: 'center',
|
|
34
|
-
height: '100vh',
|
|
35
|
-
background: '#0a0a0a',
|
|
36
|
-
fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif`,
|
|
37
|
-
},
|
|
38
|
-
loadingContent: {
|
|
39
|
-
display: 'flex',
|
|
40
|
-
flexDirection: 'column',
|
|
41
|
-
alignItems: 'center',
|
|
42
|
-
gap: '16px',
|
|
43
|
-
},
|
|
44
|
-
spinner: {
|
|
45
|
-
width: '36px',
|
|
46
|
-
height: '36px',
|
|
47
|
-
borderRadius: '50%',
|
|
48
|
-
border: '3px solid #2a2a2a',
|
|
49
|
-
borderTopColor: '#635bff',
|
|
50
|
-
animation: 'spin 0.8s linear infinite',
|
|
51
|
-
},
|
|
52
|
-
loadingText: {
|
|
53
|
-
color: '#888888',
|
|
54
|
-
fontSize: '14px',
|
|
55
|
-
fontWeight: 500,
|
|
56
|
-
margin: 0,
|
|
57
|
-
},
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export default function StudioPage() {
|
|
61
|
-
const workspace = process.env.NEXT_PUBLIC_STUDIO_WORKSPACE || 'Unknown'
|
|
62
|
-
|
|
63
|
-
return (
|
|
64
|
-
<div style={styles.container}>
|
|
65
|
-
<style>{`
|
|
66
|
-
@keyframes spin {
|
|
67
|
-
to { transform: rotate(360deg); }
|
|
68
|
-
}
|
|
69
|
-
`}</style>
|
|
70
|
-
<StudioUI
|
|
71
|
-
isVisible={true}
|
|
72
|
-
standaloneMode={true}
|
|
73
|
-
workspacePath={workspace}
|
|
74
|
-
/>
|
|
75
|
-
</div>
|
|
76
|
-
)
|
|
77
|
-
}
|