@xenosystem/blocks 0.13.5 → 0.13.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.
- package/dist/edit/index.js +9 -0
- package/package.json +3 -3
package/dist/edit/index.js
CHANGED
|
@@ -4441,6 +4441,14 @@ var HistoryPanelController = class {
|
|
|
4441
4441
|
case "Enter": {
|
|
4442
4442
|
return this.jumpToFocused();
|
|
4443
4443
|
}
|
|
4444
|
+
case "Delete":
|
|
4445
|
+
case "Backspace": {
|
|
4446
|
+
const row2 = focusIndex >= 0 ? rows[focusIndex] : void 0;
|
|
4447
|
+
const entry = row2 ? this.state.entries.find((e) => e.id === row2.entryId) : void 0;
|
|
4448
|
+
if (entry?.status !== "pending") return false;
|
|
4449
|
+
this.cancelPending(entry.id);
|
|
4450
|
+
return true;
|
|
4451
|
+
}
|
|
4444
4452
|
case "Escape": {
|
|
4445
4453
|
if (this.confirmingClear) this.cancelClear();
|
|
4446
4454
|
else if (this.filter) this.setFilter("");
|
|
@@ -4936,6 +4944,7 @@ function HistoryCancelButton({ entryId, controller }) {
|
|
|
4936
4944
|
size: "sm",
|
|
4937
4945
|
icon: /* @__PURE__ */ jsx5(XIcon2, {}),
|
|
4938
4946
|
label: "Cancel operation",
|
|
4947
|
+
pointerOnly: true,
|
|
4939
4948
|
onClick: (e) => {
|
|
4940
4949
|
e.stopPropagation();
|
|
4941
4950
|
controller.cancelPending(entryId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/blocks",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.6",
|
|
4
4
|
"description": "XENO Blocks — rung 3 of the front ladder: components composed into a contract-bearing unit (manifest: ports, intents, commands, agent surface), rendered by @xenosystem/workbench. ONE package, one subpath per family (/auth, /edit, /data, /time, /ops, /trust, /agent), one named export per block — XENO PACKAGE NAMING - STANDARD.md.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@duckdb/duckdb-wasm": ">=1.28.0",
|
|
66
66
|
"@xenosystem/block-sdk": ">=0.3.4 <1",
|
|
67
|
-
"@xenosystem/components": ">=0.18.
|
|
67
|
+
"@xenosystem/components": ">=0.18.2 <1",
|
|
68
68
|
"@xenosystem/data-core": "^0.1.0",
|
|
69
69
|
"@xenosystem/elements": ">=0.0.1",
|
|
70
70
|
"@xenosystem/elements-react": ">=0.0.1",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@types/react": "^19.0.0",
|
|
82
82
|
"@types/react-dom": "^19.0.0",
|
|
83
83
|
"@xenosystem/block-sdk": "^0.3.4",
|
|
84
|
-
"@xenosystem/components": "^0.18.
|
|
84
|
+
"@xenosystem/components": "^0.18.2",
|
|
85
85
|
"@xenosystem/data-core": "^0.1.0",
|
|
86
86
|
"@xenosystem/elements": "0.0.1",
|
|
87
87
|
"@xenosystem/elements-react": "0.0.1",
|