@industry-theme/github-panels 0.1.36 → 0.1.38
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 +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/GitHubIssueDetailPanel.d.ts +27 -0
- package/dist/panels/GitHubIssueDetailPanel.d.ts.map +1 -0
- package/dist/panels/GitHubIssueDetailPanel.stories.d.ts +59 -0
- package/dist/panels/GitHubIssueDetailPanel.stories.d.ts.map +1 -0
- package/dist/panels/GitHubIssuesPanel.d.ts +1 -1
- package/dist/panels/GitHubIssuesPanel.d.ts.map +1 -1
- package/dist/panels.bundle.js +44885 -668
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +12 -2
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { GitHubProjectCard } from './components/GitHubProjectCard';
|
|
|
18
18
|
export { GitHubProjectsPanel } from './panels/GitHubProjectsPanel';
|
|
19
19
|
export { GitHubSearchPanel } from './panels/GitHubSearchPanel';
|
|
20
20
|
export { GitHubIssuesPanel } from './panels/GitHubIssuesPanel';
|
|
21
|
+
export { GitHubIssueDetailPanel } from './panels/GitHubIssueDetailPanel';
|
|
21
22
|
export { OwnerRepositoriesPanel } from './panels/OwnerRepositoriesPanel';
|
|
22
23
|
export { RecentRepositoriesPanel, addRecentRepository, addRecentOwner } from './panels/RecentRepositoriesPanel';
|
|
23
24
|
export type { OwnerInfo } from './panels/RecentRepositoriesPanel';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAgC,MAAM,SAAS,CAAC;AAG7E;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,eAAe,EAoGnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,qBAGzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,qBAG3B,CAAC;AAGF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAChH,YAAY,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAGlE,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,8BAA8B,EAC9B,6BAA6B,EAC7B,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,sBAAsB,EACtB,cAAc,EACd,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PanelComponentProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* GitHubIssueDetailPanel - A panel for viewing GitHub issue details
|
|
5
|
+
*
|
|
6
|
+
* This panel shows:
|
|
7
|
+
* - Issue header with title, status, and metadata
|
|
8
|
+
* - Labels and assignees
|
|
9
|
+
* - Issue description/body
|
|
10
|
+
* - Link to view on GitHub
|
|
11
|
+
*
|
|
12
|
+
* Listens for 'issue:selected' events from other panels (e.g., GitHubIssuesPanel)
|
|
13
|
+
*/
|
|
14
|
+
export declare const GitHubIssueDetailPanel: React.FC<PanelComponentProps>;
|
|
15
|
+
/**
|
|
16
|
+
* Panel metadata for registration
|
|
17
|
+
*/
|
|
18
|
+
export declare const GitHubIssueDetailPanelMetadata: {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
icon: string;
|
|
23
|
+
version: string;
|
|
24
|
+
slices: never[];
|
|
25
|
+
surfaces: string[];
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=GitHubIssueDetailPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitHubIssueDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubIssueDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAYnD,OAAO,KAAK,EAAE,mBAAmB,EAAqB,MAAM,UAAU,CAAC;AAmcvE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAEhE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;CAQ1C,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
3
|
+
/**
|
|
4
|
+
* GitHubIssueDetailPanel displays detailed information about a selected GitHub issue.
|
|
5
|
+
* It listens for 'issue:selected' events from other panels (like GitHubIssuesPanel).
|
|
6
|
+
*/
|
|
7
|
+
declare const meta: {
|
|
8
|
+
title: string;
|
|
9
|
+
component: React.FC<import("@principal-ade/panel-framework-core").PanelComponentProps>;
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: string;
|
|
12
|
+
docs: {
|
|
13
|
+
description: {
|
|
14
|
+
component: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
tags: string[];
|
|
19
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
20
|
+
context: import("@principal-ade/panel-framework-core").PanelContextValue;
|
|
21
|
+
actions: import("@principal-ade/panel-framework-core").PanelActions;
|
|
22
|
+
events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
|
|
23
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof meta>;
|
|
27
|
+
/**
|
|
28
|
+
* Empty state - no issue selected
|
|
29
|
+
*/
|
|
30
|
+
export declare const EmptyState: Story;
|
|
31
|
+
/**
|
|
32
|
+
* Open issue with full details
|
|
33
|
+
*/
|
|
34
|
+
export declare const OpenIssue: Story;
|
|
35
|
+
/**
|
|
36
|
+
* Closed issue
|
|
37
|
+
*/
|
|
38
|
+
export declare const ClosedIssue: Story;
|
|
39
|
+
/**
|
|
40
|
+
* Issue without body
|
|
41
|
+
*/
|
|
42
|
+
export declare const NoBody: Story;
|
|
43
|
+
/**
|
|
44
|
+
* Issue without assignees
|
|
45
|
+
*/
|
|
46
|
+
export declare const NoAssignees: Story;
|
|
47
|
+
/**
|
|
48
|
+
* Issue with many labels
|
|
49
|
+
*/
|
|
50
|
+
export declare const ManyLabels: Story;
|
|
51
|
+
/**
|
|
52
|
+
* Compact layout (narrow panel)
|
|
53
|
+
*/
|
|
54
|
+
export declare const CompactLayout: Story;
|
|
55
|
+
/**
|
|
56
|
+
* Wide layout
|
|
57
|
+
*/
|
|
58
|
+
export declare const WideLayout: Story;
|
|
59
|
+
//# sourceMappingURL=GitHubIssueDetailPanel.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitHubIssueDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubIssueDetailPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAkG5D;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAkCqC,CAAC;AAEhD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,KAYpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAuBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAmBxB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import type { PanelComponentProps } from '../types';
|
|
|
6
6
|
* Features:
|
|
7
7
|
* - View issues with filtering (open/closed/all)
|
|
8
8
|
* - Select issues and copy as AI prompt
|
|
9
|
-
* -
|
|
9
|
+
* - Emits 'issue:selected' event for detail panel
|
|
10
10
|
* - External links to GitHub
|
|
11
11
|
*/
|
|
12
12
|
export declare const GitHubIssuesPanel: React.FC<PanelComponentProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubIssuesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubIssuesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GitHubIssuesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubIssuesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAgB5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AA4uBpD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAE3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;CAQrC,CAAC"}
|