@gallop.software/studio 2.0.1 → 2.0.3

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