@industry-theme/xterm-terminal-panel 0.9.4 → 0.9.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedTerminal.d.ts","sourceRoot":"","sources":["../../../src/components/ThemedTerminal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemedTerminal.d.ts","sourceRoot":"","sources":["../../../src/components/ThemedTerminal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AA4B3D,OAAO,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAGV,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AAMjC,OAAO,8BAA8B,CAAC;AAEtC,MAAM,WAAW,4BAA6B,SAAQ,mBAAmB;IACvE,KAAK,EAAE,KAAK,CAAC;CACd;AAsBD,eAAO,MAAM,cAAc,4HA4rC1B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { DroppedTerminalFile } from '../types/terminal.types';
|
|
3
|
+
export interface TerminalDropZoneOptions {
|
|
4
|
+
insertText: (content: string) => void;
|
|
5
|
+
focus?: () => void;
|
|
6
|
+
onFilesDropped?: (files: DroppedTerminalFile[]) => Promise<string[]>;
|
|
7
|
+
}
|
|
8
|
+
export interface TerminalDropZoneResult {
|
|
9
|
+
isDragOver: boolean;
|
|
10
|
+
dropZoneProps: {
|
|
11
|
+
onDragOver: (e: React.DragEvent) => void;
|
|
12
|
+
onDragEnter: (e: React.DragEvent) => void;
|
|
13
|
+
onDragLeave: (e: React.DragEvent) => void;
|
|
14
|
+
};
|
|
15
|
+
handleDrop: (e: React.DragEvent) => void;
|
|
16
|
+
dropIndicator: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare function useTerminalDropZone({ insertText, focus, onFilesDropped, }: TerminalDropZoneOptions): TerminalDropZoneResult;
|
|
19
|
+
//# sourceMappingURL=useTerminalDropZone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTerminalDropZone.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTerminalDropZone.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,WAAW,uBAAuB;IAMtC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAKtC,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IAOnB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CACtE;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,OAAO,CAAC;IAEpB,aAAa,EAAE;QACb,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;QACzC,WAAW,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;QAC1C,WAAW,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;KAC3C,CAAC;IAEF,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IAEzC,aAAa,EAAE,SAAS,CAAC;CAC1B;AAoBD,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EACV,KAAK,EACL,cAAc,GACf,EAAE,uBAAuB,GAAG,sBAAsB,CAsFlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GhosttyRenderer.d.ts","sourceRoot":"","sources":["../../../src/renderer/GhosttyRenderer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GhosttyRenderer.d.ts","sourceRoot":"","sources":["../../../src/renderer/GhosttyRenderer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAO5B,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB;IACjE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,KAAK,CAAC;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA6BD,eAAO,MAAM,eAAe,yHA8R3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@industry-theme/xterm-terminal-panel",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "Industry-themed xterm.js terminal components with panel framework integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"clsx": "^2.1.1",
|
|
65
|
-
"ghostty-web": "https://github.com/anomalyco/ghostty-web/archive/6e24d040458ddd7aae81572fe2901deec32f9fe7.tar.gz",
|
|
66
65
|
"react-resizable-panels": "^4.7.3"
|
|
67
66
|
},
|
|
68
67
|
"peerDependencies": {
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
"@xterm/addon-web-links": ">=0.11.0",
|
|
78
77
|
"@xterm/addon-webgl": ">=0.18.0",
|
|
79
78
|
"@xterm/xterm": ">=5.5.0",
|
|
79
|
+
"ghostty-web": ">=0.3.0",
|
|
80
80
|
"lucide-react": ">=0.263.0",
|
|
81
81
|
"react": ">=19.0.0",
|
|
82
82
|
"react-dom": ">=19.0.0"
|
|
@@ -126,6 +126,7 @@
|
|
|
126
126
|
"eslint-plugin-react": "^7.37.2",
|
|
127
127
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
128
128
|
"eslint-plugin-storybook": "10.1.2",
|
|
129
|
+
"ghostty-web": "https://github.com/anomalyco/ghostty-web/archive/6e24d040458ddd7aae81572fe2901deec32f9fe7.tar.gz",
|
|
129
130
|
"lucide-react": "^0.552.0",
|
|
130
131
|
"prettier": "^3.6.2",
|
|
131
132
|
"react": "^19.1.1",
|