@industry-theme/file-city-panel 0.3.15 → 0.3.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/components/TourPlayer.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/mocks/panelContext.d.ts.map +1 -1
- package/dist/panels/components/FileCardList.d.ts +6 -0
- package/dist/panels/components/FileCardList.d.ts.map +1 -1
- package/dist/panels/components/FileCardList.stories.d.ts +4 -0
- package/dist/panels/components/FileCardList.stories.d.ts.map +1 -1
- package/dist/panels/components/GitChangesCardList.d.ts +6 -0
- package/dist/panels/components/GitChangesCardList.d.ts.map +1 -1
- package/dist/panels/components/GitChangesCardList.stories.d.ts +30 -0
- package/dist/panels/components/GitChangesCardList.stories.d.ts.map +1 -0
- package/dist/panels.bundle.js +165 -50
- package/dist/panels.bundle.js.map +1 -1
- package/dist/types/index.d.ts +16 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -3
- package/dist/hooks/useTextToSpeech.d.ts +0 -19
- package/dist/hooks/useTextToSpeech.d.ts.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -21,6 +21,22 @@ export interface PanelActions extends CorePanelActions {
|
|
|
21
21
|
* @returns Map of stepId to audio URL
|
|
22
22
|
*/
|
|
23
23
|
fetchAudioUrls?: (context: TourAudioContext) => Promise<Map<string, string>>;
|
|
24
|
+
/**
|
|
25
|
+
* Stage a file for git commit
|
|
26
|
+
*
|
|
27
|
+
* The host application implements this to stage a file in git.
|
|
28
|
+
*
|
|
29
|
+
* @param filePath - Path to the file to stage
|
|
30
|
+
*/
|
|
31
|
+
stageFile?: (filePath: string) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Unstage a file from git staging area
|
|
34
|
+
*
|
|
35
|
+
* The host application implements this to unstage a file in git.
|
|
36
|
+
*
|
|
37
|
+
* @param filePath - Path to the file to unstage
|
|
38
|
+
*/
|
|
39
|
+
unstageFile?: (filePath: string) => void;
|
|
24
40
|
}
|
|
25
41
|
export type { FileCityColorModesSliceData, QualitySliceData, ColorMode, ColorModeConfig, FileMetricData, HighlightLayer, } from '../panels/utils/qualityLayers';
|
|
26
42
|
export type { IntroductionTour, IntroductionTourStep, HighlightLayerConfig, InteractiveAction, TourResource, TourMetadata, ColorMode as TourColorMode, } from '@principal-ai/file-city-builder';
|
|
@@ -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,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;
|
|
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,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7E;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAEvC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAGD,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@industry-theme/file-city-panel",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "File City visualization panel extension for @principal-ade/panel-framework-core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/panels.bundle.js",
|
|
@@ -55,8 +55,7 @@
|
|
|
55
55
|
"react-dom": ">=19.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@
|
|
59
|
-
"@principal-ai/file-city-react": "^0.5.0",
|
|
58
|
+
"@principal-ai/file-city-react": "^0.5.1",
|
|
60
59
|
"clsx": "^2.1.1",
|
|
61
60
|
"lucide-react": "^0.563.0"
|
|
62
61
|
},
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface UseTextToSpeechOptions {
|
|
2
|
-
model?: string;
|
|
3
|
-
autoLoad?: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface UseTextToSpeechReturn {
|
|
6
|
-
speak: (text: string) => Promise<void>;
|
|
7
|
-
stop: () => void;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
isPlaying: boolean;
|
|
10
|
-
error: Error | null;
|
|
11
|
-
progress: number;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Hook for text-to-speech using Transformers.js
|
|
15
|
-
* Runs entirely in the browser with no server dependency
|
|
16
|
-
*/
|
|
17
|
-
export declare function useTextToSpeech(options?: UseTextToSpeechOptions): UseTextToSpeechReturn;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=useTextToSpeech.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTextToSpeech.d.ts","sourceRoot":"","sources":["../../src/hooks/useTextToSpeech.ts"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,qBAAqB;IAC7B,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B,GAAG,qBAAqB,CAuL3F"}
|