@industry-theme/xterm-terminal-panel 0.5.8 → 0.5.10

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 (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1206,7 +1206,7 @@ var TabButton = ({
1206
1206
  }, [canAcceptDrop]);
1207
1207
  const handleDrop = useCallback2((e) => {
1208
1208
  e.preventDefault();
1209
- const draggedTabId = e.dataTransfer.getData("text/plain");
1209
+ const draggedTabId = e.dataTransfer.getData("application/x-tab-association");
1210
1210
  if (draggedTabId && draggedTabId !== tab.id) {
1211
1211
  onDrop?.(draggedTabId);
1212
1212
  }
@@ -4647,7 +4647,7 @@ var TabbedTerminalPanelInner = ({
4647
4647
  onAssociationRatioChange,
4648
4648
  renderAssociatedContent,
4649
4649
  getAssociatedHeader,
4650
- enableTabAssociationDrag = false,
4650
+ enableTabAssociationDrag = true,
4651
4651
  onTabAssociate,
4652
4652
  onTabDissociate: _onTabDissociate
4653
4653
  }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@industry-theme/xterm-terminal-panel",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "Industry-themed xterm.js terminal components with panel framework integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",