@industry-theme/git-panels 0.1.11 → 0.1.13

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 CHANGED
@@ -16,15 +16,16 @@ 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, pullRequestDetailTools, pullRequestDetailToolsMetadata, selectPullRequestTool, deselectPullRequestTool, allGitPanelTools, } from './tools';
19
+ export { commitHistoryTools, commitHistoryToolsMetadata, refreshCommitsTool, setCommitLimitTool, commitDetailTools, commitDetailToolsMetadata, selectCommitTool, deselectCommitTool, pullRequestsTools, pullRequestsToolsMetadata, refreshPullRequestsTool, setPRFilterTool, pullRequestDetailTools, pullRequestDetailToolsMetadata, selectPullRequestTool, deselectPullRequestTool, allGitPanelTools, } from './tools';
20
20
  /**
21
21
  * Export types for consumers
22
22
  */
23
- export type { GitCommitInfo, CommitsSliceData, PullRequestInfo, PullRequestsSliceData, PullRequestUser, PullRequestRef, } from './types';
23
+ export type { GitCommitInfo, GitCommitDetail, CommitFile, CommitStats, CommitsSliceData, PullRequestInfo, PullRequestsSliceData, PullRequestUser, PullRequestRef, } from './types';
24
24
  /**
25
25
  * Export panel components for direct use
26
26
  */
27
27
  export { GitCommitHistoryPanel, GitCommitHistoryPanelPreview } from './panels/GitCommitHistoryPanel';
28
+ export { GitCommitDetailPanel, GitCommitDetailPanelPreview } from './panels/GitCommitDetailPanel';
28
29
  export { GitPullRequestsPanel, GitPullRequestsPanelPreview } from './panels/GitPullRequestsPanel';
29
30
  export { GitPullRequestDetailPanel, GitPullRequestDetailPanelPreview } from './panels/GitPullRequestDetailPanel';
30
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,SAAS,CAAC;AAYlE;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,eAAe,EAmEnC,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,gBAAgB,EAChB,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,eAAe,EACf,UAAU,EACV,WAAW,EACX,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,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
5
+ */
6
+ export declare const GitCommitDetailPanel: React.FC<PanelComponentProps>;
7
+ /**
8
+ * Preview component for panel configuration UI
9
+ */
10
+ export declare const GitCommitDetailPanelPreview: React.FC;
11
+ //# sourceMappingURL=GitCommitDetailPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GitCommitDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitCommitDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,KAAK,EAAE,mBAAmB,EAAmB,MAAM,UAAU,CAAC;AAuZrE;;GAEG;AACH,eAAO,MAAM,oBAAoB,+BAA8B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAiD/C,CAAC"}
@@ -0,0 +1,42 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { GitCommitDetailPanel } from './GitCommitDetailPanel';
3
+ declare const meta: Meta<typeof GitCommitDetailPanel>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof GitCommitDetailPanel>;
6
+ /**
7
+ * Empty state - no commit selected
8
+ */
9
+ export declare const EmptyState: Story;
10
+ /**
11
+ * Loading state - waiting for commit data
12
+ */
13
+ export declare const Loading: Story;
14
+ /**
15
+ * Error state - failed to load commit
16
+ */
17
+ export declare const Error: Story;
18
+ /**
19
+ * Feature commit with rich markdown body and multiple files
20
+ */
21
+ export declare const FeatureCommit: Story;
22
+ /**
23
+ * Bug fix commit with minimal changes
24
+ */
25
+ export declare const BugfixCommit: Story;
26
+ /**
27
+ * Refactor commit with many file changes
28
+ */
29
+ export declare const RefactorCommit: Story;
30
+ /**
31
+ * Simple commit with single-line message
32
+ */
33
+ export declare const SimpleCommit: Story;
34
+ /**
35
+ * Commit with renamed files
36
+ */
37
+ export declare const RenameCommit: Story;
38
+ /**
39
+ * Preview component for panel configuration UI
40
+ */
41
+ export declare const Preview: Story;
42
+ //# sourceMappingURL=GitCommitDetailPanel.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GitCommitDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitCommitDetailPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAA+B,MAAM,wBAAwB,CAAC;AAI3F,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAO3C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAC;AA6LnD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GitCommitHistoryPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitCommitHistoryPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAIpD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6L/D,CAAC;AAsEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EA+DhD,CAAC"}
1
+ {"version":3,"file":"GitCommitHistoryPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitCommitHistoryPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAIpD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAyN/D,CAAC;AA0EF;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EA+DhD,CAAC"}