@gallop.software/studio 2.0.2 → 2.0.4
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 +2 -2
- package/app/page.tsx +1 -1
- package/dist/components/StudioUI.d.mts +15 -0
- package/dist/components/StudioUI.d.ts +15 -0
- package/dist/components/StudioUI.js +6572 -0
- package/dist/components/StudioUI.js.map +1 -0
- package/dist/components/StudioUI.mjs +6572 -0
- package/dist/components/StudioUI.mjs.map +1 -0
- package/package.json +6 -2
- package/src/components/AddNewModal.tsx +0 -402
- package/src/components/ErrorModal.tsx +0 -89
- package/src/components/R2SetupModal.tsx +0 -400
- package/src/components/StudioBreadcrumb.tsx +0 -115
- package/src/components/StudioButton.tsx +0 -200
- package/src/components/StudioContext.tsx +0 -219
- package/src/components/StudioDetailView.tsx +0 -714
- package/src/components/StudioFileGrid.tsx +0 -704
- package/src/components/StudioFileList.tsx +0 -743
- package/src/components/StudioFolderPicker.tsx +0 -342
- package/src/components/StudioModal.tsx +0 -473
- package/src/components/StudioPreview.tsx +0 -399
- package/src/components/StudioSettings.tsx +0 -536
- package/src/components/StudioToolbar.tsx +0 -1448
- package/src/components/StudioUI.tsx +0 -731
- package/src/components/styles/common.ts +0 -236
- package/src/components/tokens.ts +0 -78
- package/src/components/useStudioActions.tsx +0 -497
- package/src/config/index.ts +0 -7
- package/src/config/workspace.ts +0 -52
- package/src/handlers/favicon.ts +0 -152
- package/src/handlers/files.ts +0 -784
- package/src/handlers/images.ts +0 -949
- package/src/handlers/import.ts +0 -190
- package/src/handlers/index.ts +0 -168
- package/src/handlers/list.ts +0 -627
- package/src/handlers/scan.ts +0 -311
- package/src/handlers/utils/cdn.ts +0 -234
- package/src/handlers/utils/files.ts +0 -64
- package/src/handlers/utils/index.ts +0 -4
- package/src/handlers/utils/meta.ts +0 -102
- package/src/handlers/utils/thumbnails.ts +0 -98
- package/src/hooks/useFileList.ts +0 -143
- package/src/index.tsx +0 -36
- package/src/lib/api.ts +0 -176
- package/src/types.ts +0 -119
package/app/layout.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsxRuntime automatic */
|
|
2
2
|
/** @jsxImportSource react */
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import { Metadata } from 'next'
|
|
4
|
+
import { ReactNode } from 'react'
|
|
5
5
|
|
|
6
6
|
export const metadata: Metadata = {
|
|
7
7
|
title: 'Studio - Media Manager',
|
package/app/page.tsx
CHANGED
|
@@ -13,7 +13,7 @@ const colors = {
|
|
|
13
13
|
const fontStack = `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif`
|
|
14
14
|
|
|
15
15
|
// Dynamically import StudioUI from compiled dist
|
|
16
|
-
const StudioUI = dynamic(() => import('../
|
|
16
|
+
const StudioUI = dynamic(() => import('../dist/components/StudioUI.mjs').then(m => m.default), {
|
|
17
17
|
ssr: false,
|
|
18
18
|
loading: () => <LoadingState />,
|
|
19
19
|
})
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface StudioUIProps {
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
isVisible?: boolean;
|
|
6
|
+
standaloneMode?: boolean;
|
|
7
|
+
workspacePath?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Main Studio UI - contains all panels and manages internal state
|
|
11
|
+
* Rendered inside the modal via lazy loading
|
|
12
|
+
*/
|
|
13
|
+
declare function StudioUI({ onClose, isVisible, standaloneMode, workspacePath }: StudioUIProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { StudioUI, StudioUI as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface StudioUIProps {
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
isVisible?: boolean;
|
|
6
|
+
standaloneMode?: boolean;
|
|
7
|
+
workspacePath?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Main Studio UI - contains all panels and manages internal state
|
|
11
|
+
* Rendered inside the modal via lazy loading
|
|
12
|
+
*/
|
|
13
|
+
declare function StudioUI({ onClose, isVisible, standaloneMode, workspacePath }: StudioUIProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { StudioUI, StudioUI as default };
|