create-interview-cockpit 0.30.1 → 0.31.0
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/package.json
CHANGED
|
@@ -267,7 +267,9 @@ function sortFileTreeNodes<T extends { name?: string; displayName?: string }>(
|
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
function getMutableFolderChildren(
|
|
270
|
+
function getMutableFolderChildren(
|
|
271
|
+
folder: MutableFileTreeFolder,
|
|
272
|
+
): FileTreeNode[] {
|
|
271
273
|
const files = [...folder.files].sort(sortFileTreeNodes);
|
|
272
274
|
const folders = Array.from(folder.folders.values())
|
|
273
275
|
.map(compactFileTreeFolder)
|
|
@@ -1828,9 +1830,7 @@ interface ImportMeta {
|
|
|
1828
1830
|
</span>
|
|
1829
1831
|
</button>
|
|
1830
1832
|
{!collapsed &&
|
|
1831
|
-
node.children.map((child) =>
|
|
1832
|
-
renderFileTreeNode(child, depth + 1),
|
|
1833
|
-
)}
|
|
1833
|
+
node.children.map((child) => renderFileTreeNode(child, depth + 1))}
|
|
1834
1834
|
</div>
|
|
1835
1835
|
);
|
|
1836
1836
|
}
|
|
@@ -1945,9 +1945,9 @@ interface ImportMeta {
|
|
|
1945
1945
|
};
|
|
1946
1946
|
|
|
1947
1947
|
return (
|
|
1948
|
-
<div className="fixed inset-0 z-40
|
|
1948
|
+
<div className="fixed inset-0 z-40 pointer-events-none">
|
|
1949
1949
|
<div
|
|
1950
|
-
className="absolute flex flex-col rounded-2xl border border-slate-800 bg-slate-950 shadow-2xl overflow-hidden"
|
|
1950
|
+
className="absolute pointer-events-auto flex flex-col rounded-2xl border border-slate-800 bg-slate-950 shadow-2xl overflow-hidden"
|
|
1951
1951
|
style={containerStyle}
|
|
1952
1952
|
>
|
|
1953
1953
|
{/* Resize handles */}
|
package/template/cockpit.json
CHANGED