@industry-theme/repository-composition-panels 0.2.15 → 0.2.17
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/assets/orchestrators/index.d.ts +28 -0
- package/dist/assets/orchestrators/index.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/PackageCompositionPanel.d.ts.map +1 -1
- package/dist/panels/components/InheritedConfigIndicator.d.ts +27 -0
- package/dist/panels/components/InheritedConfigIndicator.d.ts.map +1 -0
- package/dist/panels/components/LensReadinessSection.d.ts.map +1 -1
- package/dist/panels/components/OrchestratorBadge.d.ts +11 -0
- package/dist/panels/components/OrchestratorBadge.d.ts.map +1 -0
- package/dist/panels/components/index.d.ts +2 -0
- package/dist/panels/components/index.d.ts.map +1 -1
- package/dist/panels/dependency-graph/DependencyGraphPanel.d.ts +21 -0
- package/dist/panels/dependency-graph/DependencyGraphPanel.d.ts.map +1 -0
- package/dist/panels/dependency-graph/dependencyToCanvas.d.ts +20 -0
- package/dist/panels/dependency-graph/dependencyToCanvas.d.ts.map +1 -0
- package/dist/panels/dependency-graph/forceLayout.d.ts +38 -0
- package/dist/panels/dependency-graph/forceLayout.d.ts.map +1 -0
- package/dist/panels/dependency-graph/index.d.ts +5 -0
- package/dist/panels/dependency-graph/index.d.ts.map +1 -0
- package/dist/panels.bundle.css +624 -0
- package/dist/panels.bundle.js +53880 -619
- package/dist/panels.bundle.js.map +1 -1
- package/dist/types/composition.d.ts +5 -115
- package/dist/types/composition.d.ts.map +1 -1
- package/package.json +8 -2
- package/dist/panels/GitChangesPanel.stories.d.ts +0 -76
- package/dist/panels/GitChangesPanel.stories.d.ts.map +0 -1
- package/dist/panels/PackageCompositionPanel.stories.d.ts +0 -65
- package/dist/panels/PackageCompositionPanel.stories.d.ts.map +0 -1
- package/dist/panels/SearchPanel.stories.d.ts +0 -59
- package/dist/panels/SearchPanel.stories.d.ts.map +0 -1
|
@@ -1,118 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Types from codebase-composition
|
|
2
|
+
* Types re-exported from @principal-ai/codebase-composition
|
|
3
|
+
*
|
|
4
|
+
* This file re-exports types from the core library to avoid duplication.
|
|
5
|
+
* All composition-related types should be imported from here.
|
|
3
6
|
*/
|
|
4
|
-
export type LensOperation
|
|
5
|
-
export interface QualityMetrics {
|
|
6
|
-
tests: number;
|
|
7
|
-
deadCode: number;
|
|
8
|
-
linting: number;
|
|
9
|
-
formatting: number;
|
|
10
|
-
types: number;
|
|
11
|
-
documentation: number;
|
|
12
|
-
}
|
|
13
|
-
export interface PackageCommand {
|
|
14
|
-
name: string;
|
|
15
|
-
command: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
type?: 'script' | 'standard';
|
|
18
|
-
workingDirectory?: string;
|
|
19
|
-
isLensCommand?: boolean;
|
|
20
|
-
lensId?: string;
|
|
21
|
-
lensOperation?: LensOperation;
|
|
22
|
-
}
|
|
23
|
-
export interface ConfigFile {
|
|
24
|
-
path: string;
|
|
25
|
-
exists: boolean;
|
|
26
|
-
type: 'json' | 'yaml' | 'toml' | 'js' | 'ts' | 'ini' | 'custom';
|
|
27
|
-
isInline?: boolean;
|
|
28
|
-
inlineField?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface FilePattern {
|
|
31
|
-
type: 'glob' | 'regex' | 'exact';
|
|
32
|
-
pattern: string;
|
|
33
|
-
description?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface FileSet {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
description?: string;
|
|
39
|
-
patterns: FilePattern[];
|
|
40
|
-
matchedFiles?: string[];
|
|
41
|
-
fileCount?: number;
|
|
42
|
-
}
|
|
43
|
-
export interface BaseLayer {
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
type: string;
|
|
47
|
-
enabled: boolean;
|
|
48
|
-
workspaceId?: string;
|
|
49
|
-
workspaceRoot?: string;
|
|
50
|
-
derivedFrom: {
|
|
51
|
-
fileSets: FileSet[];
|
|
52
|
-
derivationType: 'presence' | 'content' | 'aggregation' | 'relationship' | 'content+pattern' | 'content+presence';
|
|
53
|
-
description: string;
|
|
54
|
-
};
|
|
55
|
-
dependsOn?: string[];
|
|
56
|
-
enhances?: string;
|
|
57
|
-
color?: string;
|
|
58
|
-
icon?: string;
|
|
59
|
-
pillar?: 'validation' | 'dataFlow' | 'foundationHealth' | 'viewLayers';
|
|
60
|
-
}
|
|
61
|
-
export interface PackageLayer extends BaseLayer {
|
|
62
|
-
type: 'package' | 'node' | 'python' | 'cargo' | 'go';
|
|
63
|
-
packageData: {
|
|
64
|
-
name: string;
|
|
65
|
-
version?: string;
|
|
66
|
-
path: string;
|
|
67
|
-
manifestPath: string;
|
|
68
|
-
packageManager: 'npm' | 'yarn' | 'pnpm' | 'bun' | 'pip' | 'poetry' | 'pipenv' | 'cargo' | 'unknown';
|
|
69
|
-
dependencies: Record<string, string>;
|
|
70
|
-
devDependencies: Record<string, string>;
|
|
71
|
-
peerDependencies: Record<string, string>;
|
|
72
|
-
description?: string;
|
|
73
|
-
license?: string;
|
|
74
|
-
author?: string;
|
|
75
|
-
authors?: string[];
|
|
76
|
-
repository?: string;
|
|
77
|
-
homepage?: string;
|
|
78
|
-
keywords?: string[];
|
|
79
|
-
isMonorepoRoot: boolean;
|
|
80
|
-
isWorkspace: boolean;
|
|
81
|
-
parentPackage?: string;
|
|
82
|
-
availableCommands?: PackageCommand[];
|
|
83
|
-
};
|
|
84
|
-
lockFiles?: FileSet;
|
|
85
|
-
configFiles?: {
|
|
86
|
-
knip?: ConfigFile;
|
|
87
|
-
eslint?: ConfigFile;
|
|
88
|
-
prettier?: ConfigFile;
|
|
89
|
-
typescript?: ConfigFile;
|
|
90
|
-
jest?: ConfigFile;
|
|
91
|
-
vitest?: ConfigFile;
|
|
92
|
-
webpack?: ConfigFile;
|
|
93
|
-
vite?: ConfigFile;
|
|
94
|
-
rollup?: ConfigFile;
|
|
95
|
-
babel?: ConfigFile;
|
|
96
|
-
pytest?: ConfigFile;
|
|
97
|
-
flake8?: ConfigFile;
|
|
98
|
-
mypy?: ConfigFile;
|
|
99
|
-
black?: ConfigFile;
|
|
100
|
-
ruff?: ConfigFile;
|
|
101
|
-
pylint?: ConfigFile;
|
|
102
|
-
rustfmt?: ConfigFile;
|
|
103
|
-
clippy?: ConfigFile;
|
|
104
|
-
dockerfile?: ConfigFile;
|
|
105
|
-
gitignore?: ConfigFile;
|
|
106
|
-
editorconfig?: ConfigFile;
|
|
107
|
-
[key: string]: ConfigFile | undefined;
|
|
108
|
-
};
|
|
109
|
-
docsFolder?: string;
|
|
110
|
-
qualityMetrics?: {
|
|
111
|
-
hexagon: Partial<QualityMetrics>;
|
|
112
|
-
availableLenses: string[];
|
|
113
|
-
missingLenses?: string[];
|
|
114
|
-
lensReadiness?: Record<string, import('@principal-ai/codebase-composition').LensReadiness>;
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
export type { LensReadiness, LensRequirement, LensRequirements, RequirementCheckResult, } from '@principal-ai/codebase-composition';
|
|
7
|
+
export type { FilePattern, FileSet, BaseLayer, PackageCommand, ConfigFile, PackageLayer, QualityMetrics, LensOperation, LensReadiness, LensRequirement, LensRequirements, RequirementCheckResult, MonorepoOrchestrator, MonorepoMetadata, MonorepoRootRole, } from '@principal-ai/codebase-composition';
|
|
118
8
|
//# sourceMappingURL=composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composition.d.ts","sourceRoot":"","sources":["../../src/types/composition.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"composition.d.ts","sourceRoot":"","sources":["../../src/types/composition.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAEV,WAAW,EACX,OAAO,EACP,SAAS,EAGT,cAAc,EACd,UAAU,EACV,YAAY,EAGZ,cAAc,EACd,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EAGtB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,oCAAoC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@industry-theme/repository-composition-panels",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"description": "Repository composition panels including Git Changes panel for the panel framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/panels.bundle.js",
|
|
@@ -56,9 +56,14 @@
|
|
|
56
56
|
"@principal-ade/industry-theme": "^0.1.3",
|
|
57
57
|
"@principal-ade/panel-framework-core": "^0.1.5",
|
|
58
58
|
"@principal-ade/utcp-panel-event": "^0.1.0",
|
|
59
|
-
"@principal-ai/codebase-composition": "^0.2.
|
|
59
|
+
"@principal-ai/codebase-composition": "^0.2.18",
|
|
60
|
+
"@principal-ai/principal-view-core": "^0.5.10",
|
|
61
|
+
"@principal-ai/principal-view-react": "^0.6.18",
|
|
60
62
|
"@principal-ai/repository-abstraction": "^0.2.5",
|
|
63
|
+
"@xyflow/react": "^12.0.0",
|
|
61
64
|
"clsx": "^2.1.1",
|
|
65
|
+
"d3-dag": "^1.1.0",
|
|
66
|
+
"d3-force": "^3.0.0",
|
|
62
67
|
"lucide-react": "^0.552.0"
|
|
63
68
|
},
|
|
64
69
|
"devDependencies": {
|
|
@@ -69,6 +74,7 @@
|
|
|
69
74
|
"@storybook/addon-onboarding": "10.1.2",
|
|
70
75
|
"@storybook/react-vite": "10.1.2",
|
|
71
76
|
"@types/bun": "latest",
|
|
77
|
+
"@types/d3-force": "^3.0.10",
|
|
72
78
|
"@types/node": "^22.15.26",
|
|
73
79
|
"@types/react": "^19.0.0",
|
|
74
80
|
"@types/react-dom": "^19.0.0",
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { GitChangesPanelPreview } from './GitChangesPanel';
|
|
3
|
-
import type { GitStatus, GitChangeSelectionStatus } from '../types';
|
|
4
|
-
/**
|
|
5
|
-
* GitChangesPanelContent displays git status changes in a file tree format.
|
|
6
|
-
* It supports two view modes: "Full Tree" (complete file structure) and "Changes Only" (modified files only).
|
|
7
|
-
*
|
|
8
|
-
* Note: This is the direct-props version. The GitChangesPanel component is the Panel Framework wrapper.
|
|
9
|
-
*/
|
|
10
|
-
declare const meta: {
|
|
11
|
-
title: string;
|
|
12
|
-
component: import("react").FC<import("./GitChangesPanel").GitChangesPanelProps>;
|
|
13
|
-
parameters: {
|
|
14
|
-
layout: string;
|
|
15
|
-
docs: {
|
|
16
|
-
description: {
|
|
17
|
-
component: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
tags: string[];
|
|
22
|
-
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
23
|
-
gitStatus: GitStatus;
|
|
24
|
-
fileTree?: (import("@principal-ai/repository-abstraction").FileTree | null) | undefined;
|
|
25
|
-
rootPath?: string | undefined;
|
|
26
|
-
isLoading?: boolean | undefined;
|
|
27
|
-
onFileClick?: ((filePath: string, status?: GitChangeSelectionStatus) => void) | undefined;
|
|
28
|
-
onContextMenuAction?: ((action: import("./GitChangesPanel").ContextMenuAction) => void) | undefined;
|
|
29
|
-
emptyMessage?: string | undefined;
|
|
30
|
-
loadingMessage?: string | undefined;
|
|
31
|
-
selectedFile?: string | undefined;
|
|
32
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
33
|
-
};
|
|
34
|
-
export default meta;
|
|
35
|
-
type Story = StoryObj<typeof meta>;
|
|
36
|
-
/**
|
|
37
|
-
* Default panel with various git changes
|
|
38
|
-
*/
|
|
39
|
-
export declare const Default: Story;
|
|
40
|
-
/**
|
|
41
|
-
* Loading state
|
|
42
|
-
*/
|
|
43
|
-
export declare const Loading: Story;
|
|
44
|
-
/**
|
|
45
|
-
* No changes - clean working directory
|
|
46
|
-
*/
|
|
47
|
-
export declare const NoChanges: Story;
|
|
48
|
-
/**
|
|
49
|
-
* Only staged changes
|
|
50
|
-
*/
|
|
51
|
-
export declare const OnlyStaged: Story;
|
|
52
|
-
/**
|
|
53
|
-
* Only unstaged modifications
|
|
54
|
-
*/
|
|
55
|
-
export declare const OnlyUnstaged: Story;
|
|
56
|
-
/**
|
|
57
|
-
* Only untracked files
|
|
58
|
-
*/
|
|
59
|
-
export declare const OnlyUntracked: Story;
|
|
60
|
-
/**
|
|
61
|
-
* Only deleted files
|
|
62
|
-
*/
|
|
63
|
-
export declare const OnlyDeleted: Story;
|
|
64
|
-
/**
|
|
65
|
-
* Many changes - stress test
|
|
66
|
-
*/
|
|
67
|
-
export declare const ManyChanges: Story;
|
|
68
|
-
/**
|
|
69
|
-
* With selected file
|
|
70
|
-
*/
|
|
71
|
-
export declare const WithSelectedFile: Story;
|
|
72
|
-
/**
|
|
73
|
-
* Preview component - shown in panel switcher
|
|
74
|
-
*/
|
|
75
|
-
export declare const Preview: StoryObj<typeof GitChangesPanelPreview>;
|
|
76
|
-
//# sourceMappingURL=GitChangesPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GitChangesPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitChangesPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAA0B,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpE;;;;;GAKG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;gDA8BqB,CAAC;;;;;;CARe,CAAC;AAEhD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA6BnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAe3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAczB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAM9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,sBAAsB,CAQ3D,CAAC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { PackageCompositionPanelPreview } from './PackageCompositionPanel';
|
|
3
|
-
import type { PackageLayer, PackageCommand, ConfigFile } from '../types/composition';
|
|
4
|
-
/**
|
|
5
|
-
* PackageCompositionPanelContent displays detected packages with their
|
|
6
|
-
* config files and available commands in an expandable card format.
|
|
7
|
-
*/
|
|
8
|
-
declare const meta: {
|
|
9
|
-
title: string;
|
|
10
|
-
component: import("react").FC<import("./PackageCompositionPanel").PackageCompositionPanelProps>;
|
|
11
|
-
parameters: {
|
|
12
|
-
layout: string;
|
|
13
|
-
docs: {
|
|
14
|
-
description: {
|
|
15
|
-
component: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
tags: string[];
|
|
20
|
-
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
21
|
-
packages: PackageLayer[];
|
|
22
|
-
isLoading?: boolean | undefined;
|
|
23
|
-
emptyMessage?: string | undefined;
|
|
24
|
-
onCommandClick?: ((command: PackageCommand, packagePath: string) => void) | undefined;
|
|
25
|
-
onConfigClick?: ((configFile: ConfigFile) => void) | undefined;
|
|
26
|
-
onPackageClick?: ((packagePath: string) => void) | undefined;
|
|
27
|
-
onPackageHover?: ((pkg: PackageLayer | null) => void) | undefined;
|
|
28
|
-
onPackageSelect?: ((pkg: PackageLayer | null) => void) | undefined;
|
|
29
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
30
|
-
};
|
|
31
|
-
export default meta;
|
|
32
|
-
type Story = StoryObj<typeof meta>;
|
|
33
|
-
/**
|
|
34
|
-
* Default panel with multiple packages (monorepo structure)
|
|
35
|
-
*/
|
|
36
|
-
export declare const Default: Story;
|
|
37
|
-
/**
|
|
38
|
-
* Loading state
|
|
39
|
-
*/
|
|
40
|
-
export declare const Loading: Story;
|
|
41
|
-
/**
|
|
42
|
-
* No packages detected
|
|
43
|
-
*/
|
|
44
|
-
export declare const NoPackages: Story;
|
|
45
|
-
/**
|
|
46
|
-
* Single package (simple project)
|
|
47
|
-
*/
|
|
48
|
-
export declare const SinglePackage: Story;
|
|
49
|
-
/**
|
|
50
|
-
* Package with many commands
|
|
51
|
-
*/
|
|
52
|
-
export declare const ManyCommands: Story;
|
|
53
|
-
/**
|
|
54
|
-
* Package with inline configs
|
|
55
|
-
*/
|
|
56
|
-
export declare const WithInlineConfigs: Story;
|
|
57
|
-
/**
|
|
58
|
-
* Python package
|
|
59
|
-
*/
|
|
60
|
-
export declare const PythonPackage: Story;
|
|
61
|
-
/**
|
|
62
|
-
* Preview component - shown in panel switcher
|
|
63
|
-
*/
|
|
64
|
-
export declare const Preview: StoryObj<typeof PackageCompositionPanelPreview>;
|
|
65
|
-
//# sourceMappingURL=PackageCompositionPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PackageCompositionPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/PackageCompositionPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAkC,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3G,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAErF;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAsB6C,CAAC;AAExD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA+JnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KA2D1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KA+B/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAuC3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,8BAA8B,CAQnE,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { SearchPanelPreview } from './SearchPanel';
|
|
3
|
-
import type { FileTree } from '@principal-ai/repository-abstraction';
|
|
4
|
-
/**
|
|
5
|
-
* SearchPanelContent provides filename search functionality for repository files.
|
|
6
|
-
* It supports directory filtering with include/exclude modes and wildcard patterns.
|
|
7
|
-
*
|
|
8
|
-
* Note: This is the direct-props version. The SearchPanel component is the Panel Framework wrapper.
|
|
9
|
-
*/
|
|
10
|
-
declare const meta: {
|
|
11
|
-
title: string;
|
|
12
|
-
component: import("react").FC<import("./SearchPanel").SearchPanelProps>;
|
|
13
|
-
parameters: {
|
|
14
|
-
layout: string;
|
|
15
|
-
docs: {
|
|
16
|
-
description: {
|
|
17
|
-
component: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
tags: string[];
|
|
22
|
-
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
23
|
-
fileTree: FileTree | null;
|
|
24
|
-
baseDirectory?: string | undefined;
|
|
25
|
-
isLoading?: boolean | undefined;
|
|
26
|
-
onFileSelect?: ((filePath: string) => void) | undefined;
|
|
27
|
-
onSearchResultsChange?: ((results: import("../services/LocalSearchService").SearchResult[]) => void) | undefined;
|
|
28
|
-
onSearchResultHover?: ((filePath: string | null) => void) | undefined;
|
|
29
|
-
onDirectoryFiltersChange?: ((filters: import("../services/LocalSearchService").DirectoryFilter[]) => void) | undefined;
|
|
30
|
-
selectedFile?: string | null | undefined;
|
|
31
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
32
|
-
};
|
|
33
|
-
export default meta;
|
|
34
|
-
type Story = StoryObj<typeof meta>;
|
|
35
|
-
/**
|
|
36
|
-
* Default panel with sample files
|
|
37
|
-
*/
|
|
38
|
-
export declare const Default: Story;
|
|
39
|
-
/**
|
|
40
|
-
* Loading state
|
|
41
|
-
*/
|
|
42
|
-
export declare const Loading: Story;
|
|
43
|
-
/**
|
|
44
|
-
* Empty file tree
|
|
45
|
-
*/
|
|
46
|
-
export declare const EmptyFileTree: Story;
|
|
47
|
-
/**
|
|
48
|
-
* With selected file
|
|
49
|
-
*/
|
|
50
|
-
export declare const WithSelectedFile: Story;
|
|
51
|
-
/**
|
|
52
|
-
* Large file tree
|
|
53
|
-
*/
|
|
54
|
-
export declare const LargeFileTree: Story;
|
|
55
|
-
/**
|
|
56
|
-
* Preview component - shown in panel switcher
|
|
57
|
-
*/
|
|
58
|
-
export declare const Preview: StoryObj<typeof SearchPanelPreview>;
|
|
59
|
-
//# sourceMappingURL=SearchPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/SearchPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAsB,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAErE;;;;;GAKG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAsBiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA6FnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAM9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAe3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,kBAAkB,CAQvD,CAAC"}
|