@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.
Files changed (45) hide show
  1. package/app/layout.tsx +2 -2
  2. package/app/page.tsx +1 -1
  3. package/dist/components/StudioUI.d.mts +15 -0
  4. package/dist/components/StudioUI.d.ts +15 -0
  5. package/dist/components/StudioUI.js +6572 -0
  6. package/dist/components/StudioUI.js.map +1 -0
  7. package/dist/components/StudioUI.mjs +6572 -0
  8. package/dist/components/StudioUI.mjs.map +1 -0
  9. package/package.json +6 -2
  10. package/src/components/AddNewModal.tsx +0 -402
  11. package/src/components/ErrorModal.tsx +0 -89
  12. package/src/components/R2SetupModal.tsx +0 -400
  13. package/src/components/StudioBreadcrumb.tsx +0 -115
  14. package/src/components/StudioButton.tsx +0 -200
  15. package/src/components/StudioContext.tsx +0 -219
  16. package/src/components/StudioDetailView.tsx +0 -714
  17. package/src/components/StudioFileGrid.tsx +0 -704
  18. package/src/components/StudioFileList.tsx +0 -743
  19. package/src/components/StudioFolderPicker.tsx +0 -342
  20. package/src/components/StudioModal.tsx +0 -473
  21. package/src/components/StudioPreview.tsx +0 -399
  22. package/src/components/StudioSettings.tsx +0 -536
  23. package/src/components/StudioToolbar.tsx +0 -1448
  24. package/src/components/StudioUI.tsx +0 -731
  25. package/src/components/styles/common.ts +0 -236
  26. package/src/components/tokens.ts +0 -78
  27. package/src/components/useStudioActions.tsx +0 -497
  28. package/src/config/index.ts +0 -7
  29. package/src/config/workspace.ts +0 -52
  30. package/src/handlers/favicon.ts +0 -152
  31. package/src/handlers/files.ts +0 -784
  32. package/src/handlers/images.ts +0 -949
  33. package/src/handlers/import.ts +0 -190
  34. package/src/handlers/index.ts +0 -168
  35. package/src/handlers/list.ts +0 -627
  36. package/src/handlers/scan.ts +0 -311
  37. package/src/handlers/utils/cdn.ts +0 -234
  38. package/src/handlers/utils/files.ts +0 -64
  39. package/src/handlers/utils/index.ts +0 -4
  40. package/src/handlers/utils/meta.ts +0 -102
  41. package/src/handlers/utils/thumbnails.ts +0 -98
  42. package/src/hooks/useFileList.ts +0 -143
  43. package/src/index.tsx +0 -36
  44. package/src/lib/api.ts +0 -176
  45. 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 type { Metadata } from 'next'
4
- import type { ReactNode } from 'react'
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('../src/components/StudioUI'), {
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 };