@gallop.software/studio 2.0.0 → 2.0.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/app/layout.tsx +5 -2
- package/app/page.tsx +10 -2
- package/dist/handlers/index.js.map +1 -1
- package/dist/handlers/index.mjs.map +1 -1
- package/next.config.mjs +11 -5
- package/package.json +1 -1
- package/src/components/StudioContext.tsx +1 -1
- package/src/components/StudioFileGrid.tsx +1 -1
- package/src/components/StudioFileList.tsx +1 -1
- package/src/components/StudioUI.tsx +1 -1
- package/src/components/useStudioActions.tsx +2 -2
- package/src/handlers/files.ts +1 -1
- package/src/handlers/import.ts +1 -1
- package/src/handlers/list.ts +1 -1
- package/src/handlers/utils/meta.ts +1 -1
- package/src/handlers/utils/thumbnails.ts +1 -1
- package/src/hooks/useFileList.ts +1 -1
- package/src/lib/api.ts +1 -1
package/app/layout.tsx
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
/** @jsxRuntime automatic */
|
|
2
|
+
/** @jsxImportSource react */
|
|
1
3
|
import type { Metadata } from 'next'
|
|
4
|
+
import type { ReactNode } from 'react'
|
|
2
5
|
|
|
3
6
|
export const metadata: Metadata = {
|
|
4
7
|
title: 'Studio - Media Manager',
|
|
@@ -8,11 +11,11 @@ export const metadata: Metadata = {
|
|
|
8
11
|
export default function RootLayout({
|
|
9
12
|
children,
|
|
10
13
|
}: {
|
|
11
|
-
children:
|
|
14
|
+
children: ReactNode
|
|
12
15
|
}) {
|
|
13
16
|
return (
|
|
14
17
|
<html lang="en">
|
|
15
|
-
<body style={{ margin: 0, padding: 0 }}>
|
|
18
|
+
<body style={{ margin: 0, padding: 0, backgroundColor: '#0a0a0a' }}>
|
|
16
19
|
{children}
|
|
17
20
|
</body>
|
|
18
21
|
</html>
|
package/app/page.tsx
CHANGED
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
import dynamic from 'next/dynamic'
|
|
4
4
|
import { css } from '@emotion/react'
|
|
5
|
-
import { colors, fontStack } from '../src/components/tokens'
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
const colors = {
|
|
7
|
+
background: '#0a0a0a',
|
|
8
|
+
primary: '#635bff',
|
|
9
|
+
border: '#2a2a2a',
|
|
10
|
+
textSecondary: '#888888',
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const fontStack = `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif`
|
|
14
|
+
|
|
15
|
+
// Dynamically import StudioUI from compiled dist
|
|
8
16
|
const StudioUI = dynamic(() => import('../src/components/StudioUI'), {
|
|
9
17
|
ssr: false,
|
|
10
18
|
loading: () => <LoadingState />,
|