@industry-theme/git-panels 0.1.1 → 0.1.2
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 +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/GitPullRequestDetailPanel.d.ts +11 -0
- package/dist/panels/GitPullRequestDetailPanel.d.ts.map +1 -0
- package/dist/panels/GitPullRequestDetailPanel.stories.d.ts +30 -0
- package/dist/panels/GitPullRequestDetailPanel.stories.d.ts.map +1 -0
- package/dist/panels/GitPullRequestsPanel.d.ts.map +1 -1
- package/dist/panels.bundle.js +45030 -216
- package/dist/panels.bundle.js.map +1 -1
- package/dist/tools/index.d.ts +16 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools.bundle.js +61 -1
- package/package.json +12 -2
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const onPackageUnload: () => Promise<void>;
|
|
|
16
16
|
* Export tools for server-safe imports.
|
|
17
17
|
* Use '@principal-ade/git-panels/tools' to import without React dependencies.
|
|
18
18
|
*/
|
|
19
|
-
export { commitHistoryTools, commitHistoryToolsMetadata, refreshCommitsTool, setCommitLimitTool, pullRequestsTools, pullRequestsToolsMetadata, refreshPullRequestsTool, setPRFilterTool, allGitPanelTools, } from './tools';
|
|
19
|
+
export { commitHistoryTools, commitHistoryToolsMetadata, refreshCommitsTool, setCommitLimitTool, pullRequestsTools, pullRequestsToolsMetadata, refreshPullRequestsTool, setPRFilterTool, pullRequestDetailTools, pullRequestDetailToolsMetadata, selectPullRequestTool, deselectPullRequestTool, allGitPanelTools, } from './tools';
|
|
20
20
|
/**
|
|
21
21
|
* Export types for consumers
|
|
22
22
|
*/
|
|
@@ -26,4 +26,5 @@ export type { GitCommitInfo, CommitsSliceData, PullRequestInfo, PullRequestsSlic
|
|
|
26
26
|
*/
|
|
27
27
|
export { GitCommitHistoryPanel, GitCommitHistoryPanelPreview } from './panels/GitCommitHistoryPanel';
|
|
28
28
|
export { GitPullRequestsPanel, GitPullRequestsPanelPreview } from './panels/GitPullRequestsPanel';
|
|
29
|
+
export { GitPullRequestDetailPanel, GitPullRequestDetailPanelPreview } from './panels/GitPullRequestDetailPanel';
|
|
29
30
|
//# sourceMappingURL=index.d.ts.map
|
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":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,SAAS,CAAC;AAUlE;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,eAAe,EAsDnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,qBAEzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,qBAE3B,CAAC;AAEF;;;GAGG;AACH,OAAO,EAEL,kBAAkB,EAClB,0BAA0B,EAC1B,kBAAkB,EAClB,kBAAkB,EAElB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,EACvB,eAAe,EAEf,sBAAsB,EACtB,8BAA8B,EAC9B,qBAAqB,EACrB,uBAAuB,EAEvB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,YAAY,EACV,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,cAAc,GACf,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACrG,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PanelComponentProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Main panel component wrapped with ThemeProvider
|
|
5
|
+
*/
|
|
6
|
+
export declare const GitPullRequestDetailPanel: React.FC<PanelComponentProps>;
|
|
7
|
+
/**
|
|
8
|
+
* Preview component for panel configuration UI
|
|
9
|
+
*/
|
|
10
|
+
export declare const GitPullRequestDetailPanelPreview: React.FC;
|
|
11
|
+
//# sourceMappingURL=GitPullRequestDetailPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitPullRequestDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitPullRequestDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAcnD,OAAO,KAAK,EAAE,mBAAmB,EAAmB,MAAM,UAAU,CAAC;AAqYrE;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAyDpD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GitPullRequestDetailPanel } from './GitPullRequestDetailPanel';
|
|
3
|
+
declare const meta: Meta<typeof GitPullRequestDetailPanel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GitPullRequestDetailPanel>;
|
|
6
|
+
/**
|
|
7
|
+
* Empty state - no PR selected
|
|
8
|
+
*/
|
|
9
|
+
export declare const EmptyState: Story;
|
|
10
|
+
/**
|
|
11
|
+
* Open PR with rich markdown body
|
|
12
|
+
*/
|
|
13
|
+
export declare const OpenPR: Story;
|
|
14
|
+
/**
|
|
15
|
+
* Draft PR
|
|
16
|
+
*/
|
|
17
|
+
export declare const DraftPR: Story;
|
|
18
|
+
/**
|
|
19
|
+
* Merged PR
|
|
20
|
+
*/
|
|
21
|
+
export declare const MergedPR: Story;
|
|
22
|
+
/**
|
|
23
|
+
* PR with no body/description
|
|
24
|
+
*/
|
|
25
|
+
export declare const NoBody: Story;
|
|
26
|
+
/**
|
|
27
|
+
* Preview component for panel configuration UI
|
|
28
|
+
*/
|
|
29
|
+
export declare const Preview: Story;
|
|
30
|
+
//# sourceMappingURL=GitPullRequestDetailPanel.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitPullRequestDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitPullRequestDetailPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,yBAAyB,EAAoC,MAAM,6BAA6B,CAAC;AAI1G,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,yBAAyB,CAOhD,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAyJxD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitPullRequestsPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitPullRequestsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"GitPullRequestsPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitPullRequestsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAyT9D,CAAC;AA4PF;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAkE/C,CAAC"}
|