@industry-theme/git-panels 0.1.1

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.
@@ -0,0 +1,34 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { GitConfigPanel } from './GitConfigPanel';
3
+ declare const meta: Meta<typeof GitConfigPanel>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof GitConfigPanel>;
6
+ /**
7
+ * Default state with mock git config data
8
+ */
9
+ export declare const Default: Story;
10
+ /**
11
+ * Empty remotes and branches
12
+ */
13
+ export declare const MinimalConfig: Story;
14
+ /**
15
+ * Multiple remotes configured
16
+ */
17
+ export declare const MultipleRemotes: Story;
18
+ /**
19
+ * Loading state
20
+ */
21
+ export declare const Loading: Story;
22
+ /**
23
+ * No repository connected
24
+ */
25
+ export declare const NoRepository: Story;
26
+ /**
27
+ * No config slice available
28
+ */
29
+ export declare const NoSlice: Story;
30
+ /**
31
+ * Preview component for panel configuration UI
32
+ */
33
+ export declare const Preview: Story;
34
+ //# sourceMappingURL=GitConfigPanel.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GitConfigPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitConfigPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAKzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAOrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KA0C3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAmF7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import type { PanelComponentProps } from '../types';
3
+ /**
4
+ * GitPullRequestsPanel - Displays pull requests from the 'pullRequests' slice.
5
+ *
6
+ * This panel expects the host to provide PR data through:
7
+ * - context.getSlice<PullRequestsSliceData>('pullRequests')
8
+ *
9
+ * The panel supports:
10
+ * - Filtering by state (all, open, closed)
11
+ * - Refresh via context.refresh()
12
+ * - Tool events for programmatic interaction
13
+ */
14
+ export declare const GitPullRequestsPanel: React.FC<PanelComponentProps>;
15
+ /**
16
+ * Preview component for panel configuration UI
17
+ */
18
+ export declare const GitPullRequestsPanelPreview: React.FC;
19
+ //# sourceMappingURL=GitPullRequestsPanel.d.ts.map
@@ -0,0 +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,CAwS9D,CAAC;AAuOF;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAgE/C,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { GitPullRequestsPanel } from './GitPullRequestsPanel';
3
+ declare const meta: Meta<typeof GitPullRequestsPanel>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof GitPullRequestsPanel>;
6
+ /**
7
+ * Default state with mock PR data
8
+ */
9
+ export declare const Default: Story;
10
+ /**
11
+ * Empty state when no PRs are found
12
+ */
13
+ export declare const Empty: Story;
14
+ /**
15
+ * Loading state
16
+ */
17
+ export declare const Loading: Story;
18
+ /**
19
+ * No repository connected
20
+ */
21
+ export declare const NoRepository: Story;
22
+ /**
23
+ * No pull requests slice available
24
+ */
25
+ export declare const NoSlice: Story;
26
+ /**
27
+ * Only open PRs
28
+ */
29
+ export declare const OnlyOpenPRs: Story;
30
+ /**
31
+ * Preview component for panel configuration UI
32
+ */
33
+ export declare const Preview: Story;
34
+ //# sourceMappingURL=GitPullRequestsPanel.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GitPullRequestsPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitPullRequestsPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAA+B,MAAM,wBAAwB,CAAC;AAK3F,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAO3C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAyBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KA+DzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}