@floegence/floe-webapp-core 0.57.1 → 0.59.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/dist/chat.css +5 -5
- package/dist/components/chat/blocks/MarkdownMedia.d.ts +12 -0
- package/dist/components/chat/blocks/MarkdownMedia.js +164 -114
- package/dist/components/file-browser/DirectoryTree.js +7 -6
- package/dist/components/file-browser/DragPreview.js +36 -35
- package/dist/components/file-browser/FileGridView.js +110 -112
- package/dist/components/file-browser/FileIcons.d.ts +18 -17
- package/dist/components/file-browser/FileIcons.js +119 -478
- package/dist/components/file-browser/FileListView.js +1 -0
- package/dist/components/file-browser/fileIconArtwork.generated.d.ts +5 -0
- package/dist/components/file-browser/fileIconArtwork.generated.js +1450 -0
- package/dist/components/file-browser/fileIconCatalog.d.ts +26 -0
- package/dist/components/file-browser/fileIconCatalog.js +33 -0
- package/dist/components/file-browser/fileIconCatalog.json.js +4 -0
- package/dist/components/file-browser/fileIconDrawing.d.ts +2 -0
- package/dist/components/file-browser/fileIconLabels.json.js +240 -0
- package/dist/components/file-browser/index.d.ts +1 -1
- package/dist/components/ui/FileOpenPicker.js +1 -0
- package/dist/components/ui/FileSavePicker.js +1 -0
- package/dist/components/ui/FloatingWindow.js +73 -72
- package/dist/components/ui/picker/PickerBase.js +1 -0
- package/dist/context/LayoutContext.d.ts +1 -1
- package/dist/context/LayoutContext.js +10 -8
- package/dist/file-icons.css +43 -0
- package/dist/floe.css +1 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@ import { type Component, type JSX } from 'solid-js';
|
|
|
2
2
|
import type { FileItem } from './types';
|
|
3
3
|
export interface FileIconProps {
|
|
4
4
|
class?: string;
|
|
5
|
+
/** Rendered pixel size; 20 px and below use the approved compact artwork. */
|
|
6
|
+
size?: number;
|
|
5
7
|
}
|
|
6
8
|
type FileIconComponent = Component<FileIconProps>;
|
|
7
9
|
type ResolvableFileIcon = Pick<FileItem, 'name' | 'type' | 'extension' | 'icon' | 'link'>;
|
|
@@ -9,29 +11,28 @@ export type FileItemIconRenderer = FileIconComponent | JSX.Element;
|
|
|
9
11
|
export interface ResolveFileItemIconOptions {
|
|
10
12
|
open?: boolean;
|
|
11
13
|
}
|
|
12
|
-
export declare const FolderIcon:
|
|
13
|
-
export declare const FolderOpenIcon:
|
|
14
|
-
export declare const SymlinkFolderIcon:
|
|
15
|
-
export declare const SymlinkFolderOpenIcon:
|
|
16
|
-
export declare const FileIcon:
|
|
17
|
-
export declare const SymlinkFileIcon:
|
|
18
|
-
export declare const BrokenSymlinkIcon:
|
|
19
|
-
export declare const ArchiveFileIcon:
|
|
20
|
-
export declare const CodeFileIcon:
|
|
14
|
+
export declare const FolderIcon: FileIconComponent;
|
|
15
|
+
export declare const FolderOpenIcon: FileIconComponent;
|
|
16
|
+
export declare const SymlinkFolderIcon: FileIconComponent;
|
|
17
|
+
export declare const SymlinkFolderOpenIcon: FileIconComponent;
|
|
18
|
+
export declare const FileIcon: FileIconComponent;
|
|
19
|
+
export declare const SymlinkFileIcon: FileIconComponent;
|
|
20
|
+
export declare const BrokenSymlinkIcon: FileIconComponent;
|
|
21
|
+
export declare const ArchiveFileIcon: FileIconComponent;
|
|
22
|
+
export declare const CodeFileIcon: FileIconComponent;
|
|
21
23
|
export declare const JavaScriptFileIcon: FileIconComponent;
|
|
22
24
|
export declare const TypeScriptFileIcon: FileIconComponent;
|
|
23
25
|
export declare const ShellScriptFileIcon: FileIconComponent;
|
|
24
|
-
export declare const ImageFileIcon:
|
|
25
|
-
export declare const VideoFileIcon:
|
|
26
|
-
export declare const AudioFileIcon:
|
|
27
|
-
export declare const DocumentFileIcon:
|
|
28
|
-
export declare const ConfigFileIcon:
|
|
29
|
-
export declare const StyleFileIcon:
|
|
26
|
+
export declare const ImageFileIcon: FileIconComponent;
|
|
27
|
+
export declare const VideoFileIcon: FileIconComponent;
|
|
28
|
+
export declare const AudioFileIcon: FileIconComponent;
|
|
29
|
+
export declare const DocumentFileIcon: FileIconComponent;
|
|
30
|
+
export declare const ConfigFileIcon: FileIconComponent;
|
|
31
|
+
export declare const StyleFileIcon: FileIconComponent;
|
|
30
32
|
export declare function getFileIcon(extension?: string): FileIconComponent;
|
|
31
33
|
export declare function resolveFileItemIcon(item: ResolvableFileIcon, options?: ResolveFileItemIconOptions): FileItemIconRenderer;
|
|
32
|
-
export declare function FileItemIcon(props: {
|
|
34
|
+
export declare function FileItemIcon(props: FileIconProps & {
|
|
33
35
|
item: ResolvableFileIcon;
|
|
34
|
-
class?: string;
|
|
35
36
|
open?: boolean;
|
|
36
37
|
}): JSX.Element;
|
|
37
38
|
export {};
|