@industry-theme/principal-view-panels 0.1.9 → 0.1.10
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 +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/mocks/vvfConfigs.d.ts +1 -1
- package/dist/mocks/vvfConfigs.d.ts.map +1 -1
- package/dist/panels/PrincipalViewGraphPanel.d.ts.map +1 -1
- package/dist/panels/PrincipalViewGraphPanel.stories.d.ts +5 -0
- package/dist/panels/PrincipalViewGraphPanel.stories.d.ts.map +1 -1
- package/dist/panels/principal-view/EmptyStateContent.d.ts.map +1 -1
- package/dist/panels.bundle.js +4275 -5158
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +2 -2
- package/dist/panels/ConfigLibraryBrowserPanel.d.ts +0 -18
- package/dist/panels/ConfigLibraryBrowserPanel.d.ts.map +0 -1
- package/dist/panels/ConfigLibraryBrowserPanel.stories.d.ts +0 -42
- package/dist/panels/ConfigLibraryBrowserPanel.stories.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@industry-theme/principal-view-panels",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Principal View Graph Panels for visualizing graph configurations from .principal-views/ folder as interactive diagrams",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/panels.bundle.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@principal-ade/panel-framework-core": "^0.1.10",
|
|
60
60
|
"@principal-ade/utcp-panel-event": "^0.1.0",
|
|
61
61
|
"@principal-ai/principal-view-core": "^0.5.10",
|
|
62
|
-
"@principal-ai/principal-view-react": "^0.6.
|
|
62
|
+
"@principal-ai/principal-view-react": "^0.6.13",
|
|
63
63
|
"@principal-ai/repository-abstraction": "0.2.5",
|
|
64
64
|
"@xyflow/react": "^12.0.0",
|
|
65
65
|
"clsx": "^2.1.1",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PanelComponentProps } from '@principal-ade/panel-framework-core';
|
|
3
|
-
/**
|
|
4
|
-
* Event payload for config selection
|
|
5
|
-
*/
|
|
6
|
-
export interface ConfigSelectedEventPayload {
|
|
7
|
-
configId: string;
|
|
8
|
-
configPath: string;
|
|
9
|
-
configName: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Config Library Browser Panel
|
|
13
|
-
*
|
|
14
|
-
* Lists available .canvas configurations and component library items.
|
|
15
|
-
* Clicking a config emits an event that the graph panel can listen to.
|
|
16
|
-
*/
|
|
17
|
-
export declare const ConfigLibraryBrowserPanel: React.FC<PanelComponentProps>;
|
|
18
|
-
//# sourceMappingURL=ConfigLibraryBrowserPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigLibraryBrowserPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ConfigLibraryBrowserPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAiD/E;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4jCnE,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
/**
|
|
3
|
-
* ConfigLibraryBrowserPanel displays available .canvas configurations
|
|
4
|
-
* and component library items from the .principal-views/ folder.
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: {
|
|
7
|
-
title: string;
|
|
8
|
-
component: import("react").FC<import("@principal-ade/panel-framework-core").PanelComponentProps>;
|
|
9
|
-
parameters: {
|
|
10
|
-
layout: string;
|
|
11
|
-
docs: {
|
|
12
|
-
description: {
|
|
13
|
-
component: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
tags: string[];
|
|
18
|
-
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
19
|
-
context: import("@principal-ade/panel-framework-core").PanelContextValue;
|
|
20
|
-
actions: import("@principal-ade/panel-framework-core").PanelActions;
|
|
21
|
-
events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
|
|
22
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
23
|
-
};
|
|
24
|
-
export default meta;
|
|
25
|
-
type Story = StoryObj<typeof meta>;
|
|
26
|
-
/**
|
|
27
|
-
* Default story with multiple configs and a library
|
|
28
|
-
*/
|
|
29
|
-
export declare const WithConfigsAndLibrary: Story;
|
|
30
|
-
/**
|
|
31
|
-
* Story with only configs, no library
|
|
32
|
-
*/
|
|
33
|
-
export declare const ConfigsOnly: Story;
|
|
34
|
-
/**
|
|
35
|
-
* Empty state - no .principal-views folder
|
|
36
|
-
*/
|
|
37
|
-
export declare const EmptyState: Story;
|
|
38
|
-
/**
|
|
39
|
-
* Loading state
|
|
40
|
-
*/
|
|
41
|
-
export declare const Loading: Story;
|
|
42
|
-
//# sourceMappingURL=ConfigLibraryBrowserPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigLibraryBrowserPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/ConfigLibraryBrowserPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAqK5D;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAsBwC,CAAC;AAEnD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,KA6CnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAyDzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KA0CxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAC"}
|