@tutti-os/workspace-file-manager 0.0.188 → 0.0.190
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/index.js
CHANGED
|
@@ -1627,6 +1627,7 @@ import { useLayoutEffect as useLayoutEffect2, useRef as useRef4 } from "react";
|
|
|
1627
1627
|
import {
|
|
1628
1628
|
FileCodeIcon,
|
|
1629
1629
|
FileTextIcon,
|
|
1630
|
+
ImageFileIcon,
|
|
1630
1631
|
LoadingIcon,
|
|
1631
1632
|
VideoFileIcon,
|
|
1632
1633
|
cn as cn2
|
|
@@ -1646,10 +1647,6 @@ var workspaceFolderFallbackIconUrl = new URL(
|
|
|
1646
1647
|
"./assets/workspace-folder-fallback.png",
|
|
1647
1648
|
import.meta.url
|
|
1648
1649
|
).toString();
|
|
1649
|
-
var workspaceImageFallbackIconUrl = new URL(
|
|
1650
|
-
"./assets/workspace-image-fallback.png",
|
|
1651
|
-
import.meta.url
|
|
1652
|
-
).toString();
|
|
1653
1650
|
|
|
1654
1651
|
// src/ui/WorkspaceFileEntryIcon.tsx
|
|
1655
1652
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -1855,17 +1852,7 @@ function WorkspaceArchiveFallbackIcon({
|
|
|
1855
1852
|
function WorkspaceImageFallbackIcon({
|
|
1856
1853
|
className
|
|
1857
1854
|
}) {
|
|
1858
|
-
return /* @__PURE__ */ jsx4(
|
|
1859
|
-
"img",
|
|
1860
|
-
{
|
|
1861
|
-
alt: "",
|
|
1862
|
-
"aria-hidden": "true",
|
|
1863
|
-
className: cn2("object-contain", className),
|
|
1864
|
-
decoding: "async",
|
|
1865
|
-
draggable: false,
|
|
1866
|
-
src: workspaceImageFallbackIconUrl
|
|
1867
|
-
}
|
|
1868
|
-
);
|
|
1855
|
+
return /* @__PURE__ */ jsx4(ImageFileIcon, { className: vectorFallbackIconClassName(className) });
|
|
1869
1856
|
}
|
|
1870
1857
|
function ExtensionDocumentIcon({
|
|
1871
1858
|
entry,
|