@industry-theme/file-city-panel 0.3.33 → 0.3.34
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.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/CodeCityPanel.d.ts +3 -3
- package/dist/panels/CodeCityPanel.d.ts.map +1 -1
- package/dist/panels/FeedCodeCityPanel.d.ts +2 -12
- package/dist/panels/FeedCodeCityPanel.d.ts.map +1 -1
- package/dist/panels.bundle.js +13 -17
- package/dist/panels.bundle.js.map +1 -1
- package/dist/types/index.d.ts +129 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components/TourPlayer.stories.d.ts +0 -76
- package/dist/components/TourPlayer.stories.d.ts.map +0 -1
- package/dist/panels/AgentMailFileCityPanel.stories.d.ts +0 -34
- package/dist/panels/AgentMailFileCityPanel.stories.d.ts.map +0 -1
- package/dist/panels/AgentMailPanel.stories.d.ts +0 -42
- package/dist/panels/AgentMailPanel.stories.d.ts.map +0 -1
- package/dist/panels/CodeCityPanel.stories.d.ts +0 -114
- package/dist/panels/CodeCityPanel.stories.d.ts.map +0 -1
- package/dist/panels/FeedCodeCityPanel.stories.d.ts +0 -31
- package/dist/panels/FeedCodeCityPanel.stories.d.ts.map +0 -1
- package/dist/panels/StressTest.stories.d.ts +0 -49
- package/dist/panels/StressTest.stories.d.ts.map +0 -1
- package/dist/panels/components/AgentActivityView.stories.d.ts +0 -34
- package/dist/panels/components/AgentActivityView.stories.d.ts.map +0 -1
- package/dist/panels/components/FeedProjectHeader.stories.d.ts +0 -54
- package/dist/panels/components/FeedProjectHeader.stories.d.ts.map +0 -1
- package/dist/panels/components/FileCardList.stories.d.ts +0 -62
- package/dist/panels/components/FileCardList.stories.d.ts.map +0 -1
- package/dist/panels/components/GitChangesCardList.stories.d.ts +0 -30
- package/dist/panels/components/GitChangesCardList.stories.d.ts.map +0 -1
- package/dist/panels/components/GitChangesTree.stories.d.ts +0 -42
- package/dist/panels/components/GitChangesTree.stories.d.ts.map +0 -1
- package/dist/panels/components/LegendTabs.stories.d.ts +0 -38
- package/dist/panels/components/LegendTabs.stories.d.ts.map +0 -1
- package/dist/panels/components/MessageActivityFeed.stories.d.ts +0 -38
- package/dist/panels/components/MessageActivityFeed.stories.d.ts.map +0 -1
- package/dist/panels/components/PackageInfo.stories.d.ts +0 -50
- package/dist/panels/components/PackageInfo.stories.d.ts.map +0 -1
- package/dist/panels/components/PackageManagerIcon.stories.d.ts +0 -58
- package/dist/panels/components/PackageManagerIcon.stories.d.ts.map +0 -1
- package/dist/panels/components/PrChangesTree.stories.d.ts +0 -42
- package/dist/panels/components/PrChangesTree.stories.d.ts.map +0 -1
- package/dist/panels/components/ProjectInfoHeader.stories.d.ts +0 -46
- package/dist/panels/components/ProjectInfoHeader.stories.d.ts.map +0 -1
- package/dist/panels/components/ReservationsView.stories.d.ts +0 -42
- package/dist/panels/components/ReservationsView.stories.d.ts.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
* Re-exports core types from @principal-ade/panel-framework-core
|
|
5
5
|
*/
|
|
6
6
|
export type { DataSlice, WorkspaceMetadata, RepositoryMetadata, FileTreeSource, ActiveFileSlice, PanelEventType, PanelEvent, PanelEventEmitter, PanelContextValue, PanelComponentProps, PanelMetadata, PanelLifecycleHooks, PanelDefinition, PanelModule, PanelRegistryEntry, PanelLoader, PanelRegistryConfig, } from '@principal-ade/panel-framework-core';
|
|
7
|
-
import type { PanelActions as CorePanelActions } from '@principal-ade/panel-framework-core';
|
|
7
|
+
import type { PanelActions as CorePanelActions, PanelComponentProps as CorePanelComponentProps, DataSlice } from '@principal-ade/panel-framework-core';
|
|
8
8
|
import type { TourAudioContext } from './TextToSpeech';
|
|
9
|
+
import type { FileTree, GitStatusWithFiles } from '@principal-ai/repository-abstraction';
|
|
10
|
+
import type { StoryboardContextSliceData } from '@principal-ai/principal-view-core';
|
|
11
|
+
import type { FileCityColorModesSliceData } from '../panels/utils/qualityLayers';
|
|
12
|
+
import type { HighlightLayer } from '@principal-ai/file-city-react';
|
|
13
|
+
import type { GitHubRepoInfo, RootPackageInfo } from '../panels/components/FeedProjectHeader';
|
|
9
14
|
/**
|
|
10
15
|
* Extended PanelActions with File City specific actions
|
|
11
16
|
* Extends the base PanelActions from panel-framework-core
|
|
@@ -37,7 +42,130 @@ export interface PanelActions extends CorePanelActions {
|
|
|
37
42
|
* @param filePath - Path to the file to unstage
|
|
38
43
|
*/
|
|
39
44
|
unstageFile?: (filePath: string) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Open a file in the active editor
|
|
47
|
+
*
|
|
48
|
+
* @param filePath - Path to the file to open
|
|
49
|
+
* @param line - Optional line number to navigate to
|
|
50
|
+
*/
|
|
51
|
+
openFile?: (filePath: string, line?: number) => void;
|
|
40
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Packages slice data - package information from codebase-composition
|
|
55
|
+
*/
|
|
56
|
+
export interface PackagesSliceData {
|
|
57
|
+
packages: Array<{
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
packageData: {
|
|
61
|
+
name: string;
|
|
62
|
+
path: string;
|
|
63
|
+
version?: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
license?: string;
|
|
66
|
+
packageManager: 'npm' | 'yarn' | 'pnpm' | 'bun' | 'pip' | 'poetry' | 'pipenv' | 'cargo' | 'unknown';
|
|
67
|
+
dependencies: Record<string, string>;
|
|
68
|
+
devDependencies: Record<string, string>;
|
|
69
|
+
peerDependencies: Record<string, string>;
|
|
70
|
+
availableCommands?: Array<{
|
|
71
|
+
name: string;
|
|
72
|
+
command: string;
|
|
73
|
+
}>;
|
|
74
|
+
isMonorepoRoot?: boolean;
|
|
75
|
+
};
|
|
76
|
+
}>;
|
|
77
|
+
summary: {
|
|
78
|
+
isMonorepo: boolean;
|
|
79
|
+
rootPackageName?: string;
|
|
80
|
+
totalPackages: number;
|
|
81
|
+
workspacePackages: Array<{
|
|
82
|
+
name?: string;
|
|
83
|
+
path: string;
|
|
84
|
+
}>;
|
|
85
|
+
totalDependencies: number;
|
|
86
|
+
totalDevDependencies: number;
|
|
87
|
+
availableScripts: string[];
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* PR files data - files changed in a selected pull request
|
|
92
|
+
*/
|
|
93
|
+
export interface PrFilesSliceData {
|
|
94
|
+
files: Array<{
|
|
95
|
+
sha: string;
|
|
96
|
+
filename: string;
|
|
97
|
+
status: 'added' | 'removed' | 'modified' | 'renamed' | 'copied' | 'changed' | 'unchanged';
|
|
98
|
+
additions: number;
|
|
99
|
+
deletions: number;
|
|
100
|
+
changes: number;
|
|
101
|
+
}>;
|
|
102
|
+
filesByStatus: {
|
|
103
|
+
added: string[];
|
|
104
|
+
modified: string[];
|
|
105
|
+
removed: string[];
|
|
106
|
+
renamed: {
|
|
107
|
+
filename: string;
|
|
108
|
+
previous_filename?: string;
|
|
109
|
+
}[];
|
|
110
|
+
};
|
|
111
|
+
pullNumber: number | null;
|
|
112
|
+
owner?: string;
|
|
113
|
+
repo?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Commit files data - files changed in a selected commit
|
|
117
|
+
*/
|
|
118
|
+
export interface CommitFilesSliceData {
|
|
119
|
+
filesByStatus: {
|
|
120
|
+
added: string[];
|
|
121
|
+
modified: string[];
|
|
122
|
+
removed: string[];
|
|
123
|
+
renamed: string[];
|
|
124
|
+
};
|
|
125
|
+
commitHash: string | null;
|
|
126
|
+
stats?: {
|
|
127
|
+
total: number;
|
|
128
|
+
additions: number;
|
|
129
|
+
deletions: number;
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Feed project slice data - GitHub repo and package info for feed view
|
|
134
|
+
*/
|
|
135
|
+
export interface FeedProjectSliceData {
|
|
136
|
+
/** GitHub repository information */
|
|
137
|
+
repo: GitHubRepoInfo;
|
|
138
|
+
/** Root package information (optional) */
|
|
139
|
+
rootPackage?: RootPackageInfo;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Typed context for CodeCityPanel
|
|
143
|
+
*/
|
|
144
|
+
export interface CodeCityPanelContext {
|
|
145
|
+
fileTree: DataSlice<FileTree>;
|
|
146
|
+
fileCityColorModes: DataSlice<FileCityColorModesSliceData>;
|
|
147
|
+
gitStatusWithFiles?: DataSlice<GitStatusWithFiles>;
|
|
148
|
+
prFiles?: DataSlice<PrFilesSliceData>;
|
|
149
|
+
commitFiles?: DataSlice<CommitFilesSliceData>;
|
|
150
|
+
storyboardContext?: DataSlice<StoryboardContextSliceData>;
|
|
151
|
+
agentHighlightLayers?: DataSlice<HighlightLayer[]>;
|
|
152
|
+
packages?: DataSlice<PackagesSliceData>;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Typed panel props for CodeCityPanel
|
|
156
|
+
*/
|
|
157
|
+
export type CodeCityPanelPropsTyped = CorePanelComponentProps<PanelActions, CodeCityPanelContext>;
|
|
158
|
+
/**
|
|
159
|
+
* Typed context for FeedCodeCityPanel
|
|
160
|
+
*/
|
|
161
|
+
export interface FeedCodeCityPanelContext {
|
|
162
|
+
fileTree: DataSlice<FileTree>;
|
|
163
|
+
feedProject: DataSlice<FeedProjectSliceData>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Typed panel props for FeedCodeCityPanel
|
|
167
|
+
*/
|
|
168
|
+
export type FeedCodeCityPanelPropsTyped = CorePanelComponentProps<PanelActions, FeedCodeCityPanelContext>;
|
|
41
169
|
export type { FileCityColorModesSliceData, QualitySliceData, ColorMode, ColorModeConfig, FileMetricData, HighlightLayer, } from '../panels/utils/qualityLayers';
|
|
42
170
|
export type { IntroductionTour, IntroductionTourStep, HighlightLayerConfig, InteractiveAction, TourResource, TourMetadata, ColorMode as TourColorMode, } from '@principal-ai/file-city-builder';
|
|
43
171
|
export type { TextToSpeechAdapter, TTSState, TTSOptions, TTSEvent, TourAudioContext, } from './TextToSpeech';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,YAAY,EAEV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EAGf,cAAc,EACd,UAAU,EACV,iBAAiB,EAGjB,iBAAiB,EACjB,mBAAmB,EAGnB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,WAAW,EAGX,kBAAkB,EAClB,WAAW,EACX,mBAAmB,GACpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,YAAY,EAEV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EAGf,cAAc,EACd,UAAU,EACV,iBAAiB,EAGjB,iBAAiB,EACjB,mBAAmB,EAGnB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,WAAW,EAGX,kBAAkB,EAClB,WAAW,EACX,mBAAmB,GACpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,mBAAmB,IAAI,uBAAuB,EAC9C,SAAS,EACV,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,cA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G,uBAAuB,CAC/D,YAAY,EACZ,wBAAwB,CACzB,CAAC;AAGF,YAAY,EACV,2BAA2B,EAC3B,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,cAAc,EACd,cAAc,GACf,MAAM,+BAA+B,CAAC;AAGvC,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,SAAS,IAAI,aAAa,GAC3B,MAAM,iCAAiC,CAAC;AAGzC,YAAY,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACV,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { TourPlayer } from './TourPlayer';
|
|
3
|
-
declare const meta: Meta<typeof TourPlayer>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof TourPlayer>;
|
|
6
|
-
/**
|
|
7
|
-
* Welcome Screen - Story not yet started
|
|
8
|
-
* Shows the initial welcome screen with story info and prerequisites
|
|
9
|
-
*/
|
|
10
|
-
export declare const WelcomeScreen: Story;
|
|
11
|
-
/**
|
|
12
|
-
* First Step - Beginning of the tour
|
|
13
|
-
* Shows the first step with navigation controls
|
|
14
|
-
*/
|
|
15
|
-
export declare const FirstStep: Story;
|
|
16
|
-
/**
|
|
17
|
-
* Middle Step - Tour in progress
|
|
18
|
-
* Shows a step in the middle of the tour
|
|
19
|
-
*/
|
|
20
|
-
export declare const MiddleStep: Story;
|
|
21
|
-
/**
|
|
22
|
-
* Last Step - End of tour
|
|
23
|
-
* Shows the final step with completion state
|
|
24
|
-
*/
|
|
25
|
-
export declare const LastStep: Story;
|
|
26
|
-
/**
|
|
27
|
-
* Position Top - Player at top of screen
|
|
28
|
-
* Shows the story player positioned at the top
|
|
29
|
-
*/
|
|
30
|
-
export declare const PositionTop: Story;
|
|
31
|
-
/**
|
|
32
|
-
* Position Overlay - Centered modal style
|
|
33
|
-
* Shows the story player as a centered overlay
|
|
34
|
-
*/
|
|
35
|
-
export declare const PositionOverlay: Story;
|
|
36
|
-
/**
|
|
37
|
-
* With Interactive Actions - Showcasing action buttons
|
|
38
|
-
* Shows a step with multiple interactive actions
|
|
39
|
-
*/
|
|
40
|
-
export declare const WithInteractiveActions: Story;
|
|
41
|
-
/**
|
|
42
|
-
* With Many Resources - Multiple resource links
|
|
43
|
-
* Shows a step with various resource types
|
|
44
|
-
*/
|
|
45
|
-
export declare const WithManyResources: Story;
|
|
46
|
-
/**
|
|
47
|
-
* Interactive Complete Tour - Fully interactive example
|
|
48
|
-
* Demonstrates a complete tour with all navigation features
|
|
49
|
-
*/
|
|
50
|
-
export declare const InteractiveCompleteTour: Story;
|
|
51
|
-
/**
|
|
52
|
-
* Advanced Story - For experienced users
|
|
53
|
-
* Shows a story targeting advanced users with complex concepts
|
|
54
|
-
*/
|
|
55
|
-
export declare const AdvancedStory: Story;
|
|
56
|
-
/**
|
|
57
|
-
* With Text-to-Speech - Audio narration enabled
|
|
58
|
-
* Shows a tour with audio controls and manual read-aloud functionality
|
|
59
|
-
*/
|
|
60
|
-
export declare const WithTextToSpeech: Story;
|
|
61
|
-
/**
|
|
62
|
-
* With Auto-Play Audio - Automatic narration and advancement
|
|
63
|
-
* Shows a tour that automatically plays audio and advances to next step
|
|
64
|
-
*/
|
|
65
|
-
export declare const WithAutoPlayAudio: Story;
|
|
66
|
-
/**
|
|
67
|
-
* Without Audio - Shows tour without audio controls
|
|
68
|
-
* Demonstrates the tour player when no audio URLs are provided
|
|
69
|
-
*/
|
|
70
|
-
export declare const WithoutAudio: Story;
|
|
71
|
-
/**
|
|
72
|
-
* With Cover Images - Demonstrates cover image overlay feature
|
|
73
|
-
* Shows a tour with cover images on welcome screen and steps
|
|
74
|
-
*/
|
|
75
|
-
export declare const WithCoverImages: Story;
|
|
76
|
-
//# sourceMappingURL=TourPlayer.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TourPlayer.stories.d.ts","sourceRoot":"","sources":["../../src/components/TourPlayer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA6J1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAgBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAsCvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,KAqCxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAqCtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAqCzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAqC7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAmFpC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KA2E/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAqFrC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAiG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAsD9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KA6D/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAqC1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAkH7B,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { AgentMailFileCityPanel } from './AgentMailFileCityPanel';
|
|
3
|
-
declare const meta: Meta<typeof AgentMailFileCityPanel>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof AgentMailFileCityPanel>;
|
|
6
|
-
/**
|
|
7
|
-
* Default state - shows file city without reservations
|
|
8
|
-
*/
|
|
9
|
-
export declare const Default: Story;
|
|
10
|
-
/**
|
|
11
|
-
* Single agent reservation
|
|
12
|
-
*/
|
|
13
|
-
export declare const SingleReservation: Story;
|
|
14
|
-
/**
|
|
15
|
-
* Multiple agents with different reservations
|
|
16
|
-
*/
|
|
17
|
-
export declare const MultipleAgents: Story;
|
|
18
|
-
/**
|
|
19
|
-
* With reservation conflicts
|
|
20
|
-
*/
|
|
21
|
-
export declare const WithConflicts: Story;
|
|
22
|
-
/**
|
|
23
|
-
* Heavy coverage - many files reserved
|
|
24
|
-
*/
|
|
25
|
-
export declare const HeavyCoverage: Story;
|
|
26
|
-
/**
|
|
27
|
-
* Loading state
|
|
28
|
-
*/
|
|
29
|
-
export declare const Loading: Story;
|
|
30
|
-
/**
|
|
31
|
-
* Live simulation with changing reservations
|
|
32
|
-
*/
|
|
33
|
-
export declare const LiveSimulation: Story;
|
|
34
|
-
//# sourceMappingURL=AgentMailFileCityPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentMailFileCityPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/AgentMailFileCityPanel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOlE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,sBAAsB,CAoB7C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AA6CrD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAuC/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAkE5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAoE3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAkE3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAgH5B,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { AgentMailPanel } from './AgentMailPanel';
|
|
3
|
-
declare const meta: Meta<typeof AgentMailPanel>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof AgentMailPanel>;
|
|
6
|
-
/**
|
|
7
|
-
* Empty state - no messages, reservations, or agents
|
|
8
|
-
*/
|
|
9
|
-
export declare const Empty: Story;
|
|
10
|
-
/**
|
|
11
|
-
* Loading state
|
|
12
|
-
*/
|
|
13
|
-
export declare const Loading: Story;
|
|
14
|
-
/**
|
|
15
|
-
* With messages - shows message activity feed
|
|
16
|
-
*/
|
|
17
|
-
export declare const WithMessages: Story;
|
|
18
|
-
/**
|
|
19
|
-
* With reservations - shows file reservations view
|
|
20
|
-
*/
|
|
21
|
-
export declare const WithReservations: Story;
|
|
22
|
-
/**
|
|
23
|
-
* With conflicts - shows reservation conflicts
|
|
24
|
-
*/
|
|
25
|
-
export declare const WithConflicts: Story;
|
|
26
|
-
/**
|
|
27
|
-
* With agents - shows agents tab
|
|
28
|
-
*/
|
|
29
|
-
export declare const WithAgents: Story;
|
|
30
|
-
/**
|
|
31
|
-
* Full example - all tabs with data
|
|
32
|
-
*/
|
|
33
|
-
export declare const FullExample: Story;
|
|
34
|
-
/**
|
|
35
|
-
* Live simulation - messages arrive in real-time
|
|
36
|
-
*/
|
|
37
|
-
export declare const LiveSimulation: Story;
|
|
38
|
-
/**
|
|
39
|
-
* Expired reservations - shows how expired reservations appear
|
|
40
|
-
*/
|
|
41
|
-
export declare const WithExpiredReservations: Story;
|
|
42
|
-
//# sourceMappingURL=AgentMailPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentMailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/AgentMailPanel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAWlD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAoBrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAmD7C;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KA4BnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAuBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KA2D1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KA0D9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KA+C3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAsDxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAsGzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAyF5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAkDrC,CAAC"}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { CodeCityPanel } from './CodeCityPanel';
|
|
3
|
-
/**
|
|
4
|
-
* CodeCityPanel provides a 3D visualization of repository structure
|
|
5
|
-
* using the Code City metaphor. Files are represented as buildings
|
|
6
|
-
* and directories as city blocks.
|
|
7
|
-
*/
|
|
8
|
-
declare const meta: Meta<typeof CodeCityPanel>;
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof CodeCityPanel>;
|
|
11
|
-
/**
|
|
12
|
-
* Default story showing the panel with a repository loaded
|
|
13
|
-
*/
|
|
14
|
-
export declare const Default: Story;
|
|
15
|
-
/**
|
|
16
|
-
* Loading state story
|
|
17
|
-
*/
|
|
18
|
-
export declare const Loading: Story;
|
|
19
|
-
/**
|
|
20
|
-
* No repository loaded story
|
|
21
|
-
*/
|
|
22
|
-
export declare const NoRepository: Story;
|
|
23
|
-
/**
|
|
24
|
-
* Large repository story
|
|
25
|
-
*/
|
|
26
|
-
export declare const LargeRepository: Story;
|
|
27
|
-
/**
|
|
28
|
-
* With Git Changes - demonstrates git status highlighting
|
|
29
|
-
*/
|
|
30
|
-
export declare const WithGitChanges: Story;
|
|
31
|
-
/**
|
|
32
|
-
* With Storyboard Context - demonstrates storyboard/workflow/scenario file highlighting
|
|
33
|
-
* Shows files associated with nodes in a storyboard canvas
|
|
34
|
-
*/
|
|
35
|
-
export declare const WithStoryboardContext: Story;
|
|
36
|
-
/**
|
|
37
|
-
* With Storyboard Scenario - demonstrates scenario-level file filtering
|
|
38
|
-
* Shows only files associated with nodes in the selected scenario
|
|
39
|
-
*/
|
|
40
|
-
export declare const WithStoryboardScenario: Story;
|
|
41
|
-
/**
|
|
42
|
-
* With PR Changes - demonstrates PR file changes highlighting
|
|
43
|
-
* Shows files from a pull request with added, modified, removed, and renamed status
|
|
44
|
-
*/
|
|
45
|
-
export declare const WithPrChanges: Story;
|
|
46
|
-
/**
|
|
47
|
-
* With Test Coverage - demonstrates coverage color mode
|
|
48
|
-
* Shows: green (covered), red (not covered/0%), gray (no data)
|
|
49
|
-
* Automatically starts in Coverage color mode
|
|
50
|
-
*/
|
|
51
|
-
export declare const WithTestCoverage: Story;
|
|
52
|
-
/**
|
|
53
|
-
* With Linting Issues - demonstrates ESLint color mode
|
|
54
|
-
* Shows: green (0 issues), orange-to-red gradient for increasing issues
|
|
55
|
-
* Automatically starts in Linting color mode
|
|
56
|
-
*/
|
|
57
|
-
export declare const WithLintingIssues: Story;
|
|
58
|
-
/**
|
|
59
|
-
* With TypeScript Errors - demonstrates TypeScript color mode
|
|
60
|
-
* Shows: green (0 errors), orange-to-red gradient for increasing errors
|
|
61
|
-
* Automatically starts in TypeScript color mode
|
|
62
|
-
*/
|
|
63
|
-
export declare const WithTypescriptErrors: Story;
|
|
64
|
-
/**
|
|
65
|
-
* With Formatting Issues - demonstrates Prettier color mode
|
|
66
|
-
* Shows: green (0 issues), orange-to-red gradient for increasing issues
|
|
67
|
-
* Automatically starts in Formatting color mode
|
|
68
|
-
*/
|
|
69
|
-
export declare const WithFormattingIssues: Story;
|
|
70
|
-
/**
|
|
71
|
-
* With Dead Code - demonstrates Knip color mode
|
|
72
|
-
* Shows: green (0 unused), orange-to-red gradient for increasing unused exports
|
|
73
|
-
* Automatically starts in Dead Code color mode
|
|
74
|
-
*/
|
|
75
|
-
export declare const WithDeadCode: Story;
|
|
76
|
-
/**
|
|
77
|
-
* With All Quality Metrics - demonstrates all available quality data
|
|
78
|
-
* Starts in Coverage mode - use the dropdown to switch between different quality visualizations
|
|
79
|
-
*/
|
|
80
|
-
export declare const WithAllQualityMetrics: Story;
|
|
81
|
-
/**
|
|
82
|
-
* With Agent Activity - demonstrates agent session event layers
|
|
83
|
-
* Shows files being read, written, and edited by an AI agent
|
|
84
|
-
* Agent layers take priority and display exclusively when present
|
|
85
|
-
*/
|
|
86
|
-
export declare const WithAgentActivity: Story;
|
|
87
|
-
/**
|
|
88
|
-
* With Multiple Agent Events - demonstrates a complex agent session
|
|
89
|
-
* Shows all operation types: READ, WRITE, CREATE, EDIT, DELETE, SEARCH, LIST
|
|
90
|
-
*/
|
|
91
|
-
export declare const WithMultipleAgentEvents: Story;
|
|
92
|
-
/**
|
|
93
|
-
* With Agent And Git Changes - demonstrates agent activity combined with git status
|
|
94
|
-
* Shows how agent layers display alongside git changes (staged, unstaged, untracked)
|
|
95
|
-
* File type colors are hidden, but git status remains visible
|
|
96
|
-
*/
|
|
97
|
-
export declare const WithAgentAndGitChanges: Story;
|
|
98
|
-
export declare const WithLiveAgentSession: Story;
|
|
99
|
-
/**
|
|
100
|
-
* With Documentation - demonstrates Alexandria documentation color mode
|
|
101
|
-
* Shows: green (documented), red (needs docs), gray (no data)
|
|
102
|
-
* Automatically starts in Documentation color mode
|
|
103
|
-
*/
|
|
104
|
-
export declare const WithDocumentation: Story;
|
|
105
|
-
/**
|
|
106
|
-
* Story with comprehensive introduction tour testing all features
|
|
107
|
-
*/
|
|
108
|
-
export declare const WithIntroductionTour: Story;
|
|
109
|
-
/**
|
|
110
|
-
* With Real Project Tour - demonstrates the industry-themed-file-city-panels.tour.json
|
|
111
|
-
* Uses the actual project file structure for realistic testing
|
|
112
|
-
*/
|
|
113
|
-
export declare const WithRealProjectTour: Story;
|
|
114
|
-
//# sourceMappingURL=CodeCityPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeCityPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/CodeCityPanel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD;;;;GAIG;AACH,QAAA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BAAiB,EAAE,KA6D/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAkZlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,KA4XjC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { FeedCodeCityPanel } from './FeedCodeCityPanel';
|
|
3
|
-
/**
|
|
4
|
-
* FeedCodeCityPanel provides a 3D visualization of repository structure
|
|
5
|
-
* with a project header showing GitHub repo info and package details.
|
|
6
|
-
* Designed for feed view context where users preview projects.
|
|
7
|
-
*/
|
|
8
|
-
declare const meta: Meta<typeof FeedCodeCityPanel>;
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof FeedCodeCityPanel>;
|
|
11
|
-
/**
|
|
12
|
-
* Default story with full GitHub repo info and package details
|
|
13
|
-
*/
|
|
14
|
-
export declare const Default: Story;
|
|
15
|
-
/**
|
|
16
|
-
* GitHub info only (no package.json data)
|
|
17
|
-
*/
|
|
18
|
-
export declare const GitHubOnly: Story;
|
|
19
|
-
/**
|
|
20
|
-
* Small individual project (not a monorepo)
|
|
21
|
-
*/
|
|
22
|
-
export declare const SmallProject: Story;
|
|
23
|
-
/**
|
|
24
|
-
* Loading state
|
|
25
|
-
*/
|
|
26
|
-
export declare const Loading: Story;
|
|
27
|
-
/**
|
|
28
|
-
* No repository loaded
|
|
29
|
-
*/
|
|
30
|
-
export declare const NoRepository: Story;
|
|
31
|
-
//# sourceMappingURL=FeedCodeCityPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeedCodeCityPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/FeedCodeCityPanel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAsDxD;;;;GAIG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAoBxC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KA0BrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAyBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAwD1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KA0BrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
/**
|
|
3
|
-
* Wrapper component that provides stress test data and navigation controls
|
|
4
|
-
* for testing subdirectory selection performance in large repositories.
|
|
5
|
-
*/
|
|
6
|
-
declare function StressTestWrapper({ fileCount, }: {
|
|
7
|
-
fileCount: number;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
/**
|
|
10
|
-
* Direct component test WITHOUT file color layers - proves the layer iteration is the bottleneck
|
|
11
|
-
*/
|
|
12
|
-
declare function NoLayersStressTestWrapper({ fileCount }: {
|
|
13
|
-
fileCount: number;
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare const meta: Meta<typeof StressTestWrapper>;
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
/**
|
|
19
|
-
* Test subdirectory selection with a large number of files.
|
|
20
|
-
* Use the fileCount control to adjust the number of files.
|
|
21
|
-
*
|
|
22
|
-
* Try clicking on directories in the navigation panel or directly
|
|
23
|
-
* on the map to test zoom performance with large file counts.
|
|
24
|
-
*/
|
|
25
|
-
export declare const SubdirectoryZoom: Story;
|
|
26
|
-
/**
|
|
27
|
-
* Smaller stress test starting point (1000 files)
|
|
28
|
-
*/
|
|
29
|
-
export declare const SmallStressTest: Story;
|
|
30
|
-
/**
|
|
31
|
-
* Medium stress test (5000 files)
|
|
32
|
-
*/
|
|
33
|
-
export declare const MediumStressTest: Story;
|
|
34
|
-
/**
|
|
35
|
-
* Large stress test (10000 files)
|
|
36
|
-
*/
|
|
37
|
-
export declare const LargeStressTest: Story;
|
|
38
|
-
/**
|
|
39
|
-
* Extreme stress test (20000 files) - may be slow!
|
|
40
|
-
*/
|
|
41
|
-
export declare const ExtremeStressTest: Story;
|
|
42
|
-
/**
|
|
43
|
-
* NO LAYERS version - proves the layer iteration is the bottleneck.
|
|
44
|
-
* This uses ArchitectureMapHighlightLayers directly WITHOUT file color layers.
|
|
45
|
-
* Compare this to SubdirectoryZoom - if this is fast but SubdirectoryZoom is slow,
|
|
46
|
-
* the issue is the O(n) layer item iteration.
|
|
47
|
-
*/
|
|
48
|
-
export declare const NoLayersProof: StoryObj<typeof NoLayersStressTestWrapper>;
|
|
49
|
-
//# sourceMappingURL=StressTest.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StressTest.stories.d.ts","sourceRoot":"","sources":["../../src/panels/StressTest.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAkE5D;;;GAGG;AACH,iBAAS,iBAAiB,CAAC,EACzB,SAAS,GACV,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;CACnB,2CA4RA;AAED;;GAEG;AACH,iBAAS,yBAAyB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,2CAuHtE;AAED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAmBxC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAI9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAI7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAI9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAI7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAI/B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,OAAO,yBAAyB,CAUpE,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { AgentActivityView } from './AgentActivityView';
|
|
3
|
-
declare const meta: Meta<typeof AgentActivityView>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof AgentActivityView>;
|
|
6
|
-
/**
|
|
7
|
-
* Empty state - shows when no agent activity is present
|
|
8
|
-
*/
|
|
9
|
-
export declare const Empty: Story;
|
|
10
|
-
/**
|
|
11
|
-
* Single layer - basic example with one read operation
|
|
12
|
-
*/
|
|
13
|
-
export declare const SingleLayer: Story;
|
|
14
|
-
/**
|
|
15
|
-
* Multiple layers - demonstrates various operation types
|
|
16
|
-
*/
|
|
17
|
-
export declare const MultipleLayers: Story;
|
|
18
|
-
/**
|
|
19
|
-
* With disabled layers - shows how disabled layers appear
|
|
20
|
-
*/
|
|
21
|
-
export declare const WithDisabledLayers: Story;
|
|
22
|
-
/**
|
|
23
|
-
* Full session - comprehensive example with all operation types
|
|
24
|
-
*/
|
|
25
|
-
export declare const FullSession: Story;
|
|
26
|
-
/**
|
|
27
|
-
* Many files per layer - shows how the component handles layers with many files
|
|
28
|
-
*/
|
|
29
|
-
export declare const ManyFilesPerLayer: Story;
|
|
30
|
-
/**
|
|
31
|
-
* Live session - simulates real-time agent activity updates
|
|
32
|
-
*/
|
|
33
|
-
export declare const LiveSession: Story;
|
|
34
|
-
//# sourceMappingURL=AgentActivityView.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentActivityView.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/components/AgentActivityView.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAsB,MAAM,qBAAqB,CAAC;AAE5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAgBxC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAiD5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAoChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KA+DzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KA0B/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KA4EzB,CAAC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { FeedProjectHeader } from './FeedProjectHeader';
|
|
3
|
-
declare const meta: Meta<typeof FeedProjectHeader>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof FeedProjectHeader>;
|
|
6
|
-
/**
|
|
7
|
-
* Full featured header with all info
|
|
8
|
-
*/
|
|
9
|
-
export declare const Default: Story;
|
|
10
|
-
/**
|
|
11
|
-
* GitHub info only (no package.json data)
|
|
12
|
-
*/
|
|
13
|
-
export declare const GitHubOnly: Story;
|
|
14
|
-
/**
|
|
15
|
-
* Smaller project without org avatar
|
|
16
|
-
*/
|
|
17
|
-
export declare const IndividualProject: Story;
|
|
18
|
-
/**
|
|
19
|
-
* Rust project (different language color)
|
|
20
|
-
*/
|
|
21
|
-
export declare const RustProject: Story;
|
|
22
|
-
/**
|
|
23
|
-
* Compact mode for constrained spaces
|
|
24
|
-
*/
|
|
25
|
-
export declare const Compact: Story;
|
|
26
|
-
/**
|
|
27
|
-
* Without open button
|
|
28
|
-
*/
|
|
29
|
-
export declare const NoOpenButton: Story;
|
|
30
|
-
/**
|
|
31
|
-
* Minimal repo info
|
|
32
|
-
*/
|
|
33
|
-
export declare const MinimalInfo: Story;
|
|
34
|
-
/**
|
|
35
|
-
* Python project
|
|
36
|
-
*/
|
|
37
|
-
export declare const PythonProject: Story;
|
|
38
|
-
/**
|
|
39
|
-
* Interactive example
|
|
40
|
-
*/
|
|
41
|
-
export declare const Interactive: Story;
|
|
42
|
-
/**
|
|
43
|
-
* Side by side comparison of compact vs full
|
|
44
|
-
*/
|
|
45
|
-
export declare const CompactComparison: Story;
|
|
46
|
-
/**
|
|
47
|
-
* Loading skeleton state
|
|
48
|
-
*/
|
|
49
|
-
export declare const Skeleton: Story;
|
|
50
|
-
/**
|
|
51
|
-
* Compact skeleton state
|
|
52
|
-
*/
|
|
53
|
-
export declare const SkeletonCompact: Story;
|
|
54
|
-
//# sourceMappingURL=FeedProjectHeader.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeedProjectHeader.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/components/FeedProjectHeader.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAA8D,MAAM,qBAAqB,CAAC;AAEpH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAuBxC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AA2EhD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAM/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KA2B3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAyBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KA0B/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAI7B,CAAC"}
|