@floegence/floe-webapp-core 0.15.6 → 0.15.7
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/components/ui/DirectoryInput.d.ts +35 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/index.js +480 -478
- package/dist/index10.js +2 -2
- package/dist/index100.js +134 -32
- package/dist/index101.js +29 -511
- package/dist/index102.js +519 -36
- package/dist/index103.js +31 -12
- package/dist/index104.js +15 -123
- package/dist/index105.js +127 -13
- package/dist/index106.js +13 -10
- package/dist/index107.js +10 -22
- package/dist/index108.js +22 -10
- package/dist/index109.js +10 -8
- package/dist/index11.js +4 -4
- package/dist/index110.js +8 -74
- package/dist/index111.js +61 -132
- package/dist/index112.js +145 -5
- package/dist/index113.js +5 -11
- package/dist/index114.js +10 -25
- package/dist/index115.js +24 -30
- package/dist/index116.js +31 -90
- package/dist/index117.js +90 -26
- package/dist/index118.js +24 -43
- package/dist/index119.js +45 -13
- package/dist/index12.js +5 -5
- package/dist/index120.js +14 -35
- package/dist/index121.js +33 -62
- package/dist/index122.js +61 -81
- package/dist/index123.js +84 -13
- package/dist/index124.js +14 -2763
- package/dist/index125.js +2763 -8
- package/dist/index126.js +7 -17
- package/dist/index127.js +3 -3
- package/dist/index13.js +3 -3
- package/dist/index130.js +17 -1111
- package/dist/index131.js +1111 -30
- package/dist/index132.js +29 -130
- package/dist/index133.js +134 -0
- package/dist/index14.js +4 -4
- package/dist/index15.js +5 -5
- package/dist/index16.js +5 -5
- package/dist/index17.js +4 -4
- package/dist/index18.js +7 -7
- package/dist/index19.js +2 -2
- package/dist/index2.js +6 -6
- package/dist/index20.js +2 -2
- package/dist/index21.js +2 -2
- package/dist/index22.js +4 -4
- package/dist/index23.js +4 -4
- package/dist/index24.js +3 -3
- package/dist/index25.js +1 -1
- package/dist/index26.js +5 -5
- package/dist/index27.js +1 -1
- package/dist/index28.js +3 -3
- package/dist/index29.js +3 -3
- package/dist/index3.js +2 -2
- package/dist/index30.js +85 -208
- package/dist/index31.js +182 -373
- package/dist/index32.js +398 -54
- package/dist/index33.js +55 -133
- package/dist/index34.js +118 -861
- package/dist/index35.js +834 -176
- package/dist/index36.js +188 -815
- package/dist/index37.js +806 -261
- package/dist/index38.js +297 -76
- package/dist/index39.js +86 -37
- package/dist/index4.js +1 -1
- package/dist/index40.js +37 -66
- package/dist/index41.js +69 -2104
- package/dist/index42.js +2104 -167
- package/dist/index43.js +162 -23
- package/dist/index44.js +25 -45
- package/dist/index45.js +45 -10
- package/dist/index46.js +10 -27
- package/dist/index47.js +27 -246
- package/dist/index48.js +240 -358
- package/dist/index49.js +359 -174
- package/dist/index5.js +4 -4
- package/dist/index50.js +151 -403
- package/dist/index51.js +373 -192
- package/dist/index52.js +242 -200
- package/dist/index53.js +204 -145
- package/dist/index54.js +142 -113
- package/dist/index55.js +119 -47
- package/dist/index56.js +50 -91
- package/dist/index57.js +84 -301
- package/dist/index58.js +308 -8
- package/dist/index59.js +9 -142
- package/dist/index6.js +2 -2
- package/dist/index60.js +108 -70
- package/dist/index61.js +95 -40
- package/dist/index62.js +43 -36
- package/dist/index63.js +36 -38
- package/dist/index64.js +34 -32
- package/dist/index65.js +35 -43
- package/dist/index66.js +50 -278
- package/dist/index67.js +277 -8
- package/dist/index68.js +9 -59
- package/dist/index69.js +51 -75
- package/dist/index7.js +2 -2
- package/dist/index70.js +58 -148
- package/dist/index71.js +158 -122
- package/dist/index72.js +137 -18
- package/dist/index73.js +18 -136
- package/dist/index74.js +135 -22
- package/dist/index75.js +23 -33
- package/dist/index76.js +33 -29
- package/dist/index77.js +23 -22
- package/dist/index78.js +18 -278
- package/dist/index79.js +271 -59
- package/dist/index8.js +2 -2
- package/dist/index80.js +71 -58
- package/dist/index81.js +63 -9
- package/dist/index82.js +7 -7
- package/dist/index83.js +8 -45
- package/dist/index84.js +45 -115
- package/dist/index85.js +109 -67
- package/dist/index86.js +54 -53
- package/dist/index87.js +69 -30
- package/dist/index88.js +28 -89
- package/dist/index89.js +90 -44
- package/dist/index9.js +1 -1
- package/dist/index90.js +40 -29
- package/dist/index91.js +31 -42
- package/dist/index92.js +48 -17
- package/dist/index93.js +16 -24
- package/dist/index94.js +21 -197
- package/dist/index95.js +197 -36
- package/dist/index96.js +38 -63
- package/dist/index97.js +62 -103
- package/dist/index98.js +98 -110
- package/dist/index99.js +111 -134
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { FileItem } from '../file-browser/types';
|
|
2
|
+
export type DirectoryInputSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface DirectoryInputProps {
|
|
4
|
+
/** Currently selected directory path */
|
|
5
|
+
value?: string;
|
|
6
|
+
/** Callback when directory is selected */
|
|
7
|
+
onChange?: (path: string) => void;
|
|
8
|
+
/** File tree data for the picker */
|
|
9
|
+
files: FileItem[];
|
|
10
|
+
/** Callback to load directory contents (for lazy loading) */
|
|
11
|
+
onExpand?: (path: string) => void;
|
|
12
|
+
/** Placeholder text when no directory is selected */
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
/** Optional home directory path for display */
|
|
15
|
+
homePath?: string;
|
|
16
|
+
/** Label for home button in picker */
|
|
17
|
+
homeLabel?: string;
|
|
18
|
+
/** Initial path when picker opens */
|
|
19
|
+
initialPath?: string;
|
|
20
|
+
/** Whether the input is disabled */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Input size variant */
|
|
23
|
+
size?: DirectoryInputSize;
|
|
24
|
+
/** Error message - also sets visual error state */
|
|
25
|
+
error?: string;
|
|
26
|
+
/** Helper text displayed below the input */
|
|
27
|
+
helperText?: string;
|
|
28
|
+
/** Additional CSS class */
|
|
29
|
+
class?: string;
|
|
30
|
+
/** Dialog title */
|
|
31
|
+
dialogTitle?: string;
|
|
32
|
+
/** Confirm button text in dialog */
|
|
33
|
+
confirmText?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare function DirectoryInput(props: DirectoryInputProps): import("solid-js").JSX.Element;
|
|
@@ -8,6 +8,7 @@ export { CommandPalette } from './CommandPalette';
|
|
|
8
8
|
export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Interactive3DCard, AnimatedBorderCard, NeonCard, MorphCard, type CardProps, type CardVariant, type CardHeaderProps, type CardTitleProps, type CardDescriptionProps, type CardContentProps, type CardFooterProps, type Interactive3DCardProps, type AnimatedBorderCardProps, type NeonCardProps, type MorphCardProps, } from './Card';
|
|
9
9
|
export { Tabs, TabPanel, type TabsProps, type TabPanelProps, type TabItem } from './Tabs';
|
|
10
10
|
export { DirectoryPicker, type DirectoryPickerProps } from './DirectoryPicker';
|
|
11
|
+
export { DirectoryInput, type DirectoryInputProps, type DirectoryInputSize } from './DirectoryInput';
|
|
11
12
|
export { FileSavePicker, type FileSavePickerProps } from './FileSavePicker';
|
|
12
13
|
export { type BasePickerProps } from './picker/PickerBase';
|
|
13
14
|
export { QuoteBlock, type QuoteBlockProps } from './QuoteBlock';
|