@industry-theme/github-panels 0.1.33 → 0.1.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@industry-theme/github-panels",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "GitHub repository browser panel for panel-framework-core with industry theming",
5
5
  "type": "module",
6
6
  "main": "dist/panels.bundle.js",
@@ -1,62 +0,0 @@
1
- import React from 'react';
2
- import type { PanelComponentProps } from '../types';
3
- /**
4
- * Highlighted project for the quick start section
5
- */
6
- export interface HighlightedProject {
7
- owner: string;
8
- repo: string;
9
- label?: string;
10
- }
11
- /**
12
- * Featured organization for the organizations section
13
- */
14
- export interface FeaturedOrganization {
15
- login: string;
16
- description?: string;
17
- }
18
- /**
19
- * Curated collection of repositories
20
- */
21
- export interface CuratedCollection {
22
- id: string;
23
- name: string;
24
- description: string;
25
- icon?: string;
26
- theme?: string;
27
- repositoryCount?: number;
28
- }
29
- /**
30
- * Props for the WelcomePanel
31
- */
32
- export interface WelcomePanelProps extends PanelComponentProps {
33
- onNavigate?: (owner: string, repo: string) => void;
34
- highlightedProjects?: HighlightedProject[];
35
- featuredOrganizations?: FeaturedOrganization[];
36
- onOrganizationClick?: (org: string) => void;
37
- curatedCollections?: CuratedCollection[];
38
- onCollectionClick?: (collectionId: string) => void;
39
- }
40
- /**
41
- * WelcomePanel - A landing panel with branding and repo search
42
- *
43
- * Features:
44
- * - Brand introduction with tagline
45
- * - Search input for owner/repo or GitHub URLs
46
- * - Feature highlights (documentation, diagrams, chat)
47
- * - Configurable quick start links to repos
48
- */
49
- export declare const WelcomePanel: React.FC<WelcomePanelProps>;
50
- /**
51
- * Panel metadata for registration
52
- */
53
- export declare const WelcomePanelMetadata: {
54
- id: string;
55
- name: string;
56
- description: string;
57
- icon: string;
58
- version: string;
59
- slices: never[];
60
- surfaces: string[];
61
- };
62
- //# sourceMapp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C;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC"}
@@ -1,61 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- declare const meta: {
3
- title: string;
4
- component: import("react").FC<import("./WelcomePanel").WelcomePanelProps>;
5
- parameters: {
6
- layout: string;
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- tags: string[];
14
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
15
- onNavigate?: ((owner: string, repo: string) => void) | undefined;
16
- highlightedProjects?: import("./WelcomePanel").HighlightedProject[] | undefined;
17
- featuredOrganizations?: import("./WelcomePanel").FeaturedOrganization[] | undefined;
18
- onOrganizationClick?: ((org: string) => void) | undefined;
19
- curatedCollections?: import("./WelcomePanel").CuratedCollection[] | undefined;
20
- onCollectionClick?: ((collectionId: string) => void) | undefined;
21
- context: import("@principal-ade/panel-framework-core").PanelContextValue;
22
- actions: import("@principal-ade/panel-framework-core").PanelActions;
23
- events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
24
- }>) => import("react/jsx-runtime").JSX.Element)[];
25
- args: {
26
- context: import("@principal-ade/panel-framework-core").PanelContextValue;
27
- events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
28
- actions: import("@principal-ade/panel-framework-core").PanelActions;
29
- };
30
- };
31
- export default meta;
32
- type Story = StoryObj<typeof meta>;
33
- /**
34
- * Default state with no featured organizations
35
- */
36
- export declare const Default: Story;
37
- /**
38
- * With highlighted projects (legacy feature)
39
- */
40
- export declare const WithHighlightedProjects: Story;
41
- /**
42
- * With featured organizations - the main use case
43
- */
44
- export declare const WithFeaturedOrganizations: Story;
45
- /**
46
- * With both organizations and highlighted projects
47
- */
48
- export declare const WithOrganizationsAndProjects: Story;
49
- /**
50
- * Single organization
51
- */
52
- export declare const SingleOrganization: Story;
53
- /**
54
- * Organizations without descriptions
55
- */
56
- export declare const OrganizationsNoDescriptions: Story;
57
- /**
58
- * Interactive with navigation handler
59
- */
60
- export declare const Interactive: Story;
61
- //# sourceMappingURL=WelcomePanel.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WelcomePanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/WelcomePanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAQrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,KASvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,KAY1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,KASzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC"}