@proyecto-viviana/ui 0.1.0
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/alert/index.d.ts +12 -0
- package/dist/alert/index.d.ts.map +1 -0
- package/dist/avatar/index.d.ts +17 -0
- package/dist/avatar/index.d.ts.map +1 -0
- package/dist/badge/index.d.ts +12 -0
- package/dist/badge/index.d.ts.map +1 -0
- package/dist/button/Button.d.ts +19 -0
- package/dist/button/Button.d.ts.map +1 -0
- package/dist/button/index.d.ts +3 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button/types.d.ts +23 -0
- package/dist/button/types.d.ts.map +1 -0
- package/dist/checkbox/index.d.ts +43 -0
- package/dist/checkbox/index.d.ts.map +1 -0
- package/dist/components.css +975 -0
- package/dist/custom/calendar-card/index.d.ts +12 -0
- package/dist/custom/calendar-card/index.d.ts.map +1 -0
- package/dist/custom/chip/index.d.ts +11 -0
- package/dist/custom/chip/index.d.ts.map +1 -0
- package/dist/custom/conversation/index.d.ts +32 -0
- package/dist/custom/conversation/index.d.ts.map +1 -0
- package/dist/custom/event-card/index.d.ts +26 -0
- package/dist/custom/event-card/index.d.ts.map +1 -0
- package/dist/custom/lateral-nav/index.d.ts +32 -0
- package/dist/custom/lateral-nav/index.d.ts.map +1 -0
- package/dist/custom/logo/index.d.ts +26 -0
- package/dist/custom/logo/index.d.ts.map +1 -0
- package/dist/custom/nav-header/index.d.ts +12 -0
- package/dist/custom/nav-header/index.d.ts.map +1 -0
- package/dist/custom/page-layout/index.d.ts +11 -0
- package/dist/custom/page-layout/index.d.ts.map +1 -0
- package/dist/custom/profile-card/index.d.ts +12 -0
- package/dist/custom/profile-card/index.d.ts.map +1 -0
- package/dist/custom/project-card/index.d.ts +24 -0
- package/dist/custom/project-card/index.d.ts.map +1 -0
- package/dist/custom/timeline-item/index.d.ts +18 -0
- package/dist/custom/timeline-item/index.d.ts.map +1 -0
- package/dist/dialog/index.d.ts +18 -0
- package/dist/dialog/index.d.ts.map +1 -0
- package/dist/icon/icons/GitHubIcon.d.ts +7 -0
- package/dist/icon/icons/GitHubIcon.d.ts.map +1 -0
- package/dist/icon/index.d.ts +28 -0
- package/dist/icon/index.d.ts.map +1 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1988 -0
- package/dist/index.js.map +1 -0
- package/dist/link/index.d.ts +39 -0
- package/dist/link/index.d.ts.map +1 -0
- package/dist/progress-bar/index.d.ts +49 -0
- package/dist/progress-bar/index.d.ts.map +1 -0
- package/dist/radio/index.d.ts +43 -0
- package/dist/radio/index.d.ts.map +1 -0
- package/dist/separator/index.d.ts +42 -0
- package/dist/separator/index.d.ts.map +1 -0
- package/dist/styles.css +450 -0
- package/dist/switch/ToggleSwitch.d.ts +28 -0
- package/dist/switch/ToggleSwitch.d.ts.map +1 -0
- package/dist/switch/index.d.ts +26 -0
- package/dist/switch/index.d.ts.map +1 -0
- package/dist/test-utils/index.d.ts +44 -0
- package/dist/test-utils/index.d.ts.map +1 -0
- package/dist/textfield/index.d.ts +31 -0
- package/dist/textfield/index.d.ts.map +1 -0
- package/dist/theme.css +101 -0
- package/dist/tooltip/index.d.ts +17 -0
- package/dist/tooltip/index.d.ts.map +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface CalendarCardProps {
|
|
2
|
+
title: string;
|
|
3
|
+
image?: string;
|
|
4
|
+
tags?: string[];
|
|
5
|
+
followers?: {
|
|
6
|
+
name: string;
|
|
7
|
+
}[];
|
|
8
|
+
followerCount?: number;
|
|
9
|
+
class?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function CalendarCard(props: CalendarCardProps): import("solid-js").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/calendar-card/index.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,kCAqDpD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export type ChipVariant = 'primary' | 'secondary' | 'accent' | 'outline';
|
|
3
|
+
export interface ChipProps {
|
|
4
|
+
text: string;
|
|
5
|
+
variant?: ChipVariant;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
icon?: JSX.Element;
|
|
8
|
+
class?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function Chip(props: ChipProps): JSX.Element;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAEnC,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAA;AAExE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AASD,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,eAYpC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface Message {
|
|
2
|
+
id: string;
|
|
3
|
+
content: string;
|
|
4
|
+
sender: 'user' | 'other';
|
|
5
|
+
timestamp?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ConversationPreviewProps {
|
|
8
|
+
user: {
|
|
9
|
+
name: string;
|
|
10
|
+
avatar?: string;
|
|
11
|
+
online?: boolean;
|
|
12
|
+
};
|
|
13
|
+
lastMessage?: string;
|
|
14
|
+
unreadCount?: number;
|
|
15
|
+
timestamp?: string;
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
class?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function ConversationPreview(props: ConversationPreviewProps): import("solid-js").JSX.Element;
|
|
20
|
+
export interface ConversationBubbleProps {
|
|
21
|
+
content: string;
|
|
22
|
+
sender: 'user' | 'other';
|
|
23
|
+
timestamp?: string;
|
|
24
|
+
class?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function ConversationBubble(props: ConversationBubbleProps): import("solid-js").JSX.Element;
|
|
27
|
+
export interface ConversationProps {
|
|
28
|
+
messages: Message[];
|
|
29
|
+
class?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function Conversation(props: ConversationProps): import("solid-js").JSX.Element;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/conversation/index.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,MAAM,CAAC,EAAE,OAAO,CAAA;KACjB,CAAA;IACD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,kCA8BlE;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,GAAG,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,kCAqBhE;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,kCAcpD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export interface EventCardProps {
|
|
3
|
+
title: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
date?: string;
|
|
6
|
+
author?: string;
|
|
7
|
+
authorAvatar?: string;
|
|
8
|
+
attendees?: {
|
|
9
|
+
avatar?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
}[];
|
|
12
|
+
attendeeCount?: number;
|
|
13
|
+
decorationImage?: string;
|
|
14
|
+
actions?: JSX.Element;
|
|
15
|
+
class?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function EventCard(props: EventCardProps): JSX.Element;
|
|
18
|
+
export interface EventListItemProps {
|
|
19
|
+
title: string;
|
|
20
|
+
image?: string;
|
|
21
|
+
subtitle?: string;
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
class?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function EventListItem(props: EventListItemProps): JSX.Element;
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/event-card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAInC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,eA2E9C;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,eAuBtD"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export interface NavItemProps {
|
|
3
|
+
title: string;
|
|
4
|
+
children?: JSX.Element;
|
|
5
|
+
class?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function NavItem(props: NavItemProps): JSX.Element;
|
|
8
|
+
export interface NavLinkProps {
|
|
9
|
+
href: string;
|
|
10
|
+
children: JSX.Element;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
class?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function NavLink(props: NavLinkProps): JSX.Element;
|
|
15
|
+
export interface NavSectionProps {
|
|
16
|
+
title: string;
|
|
17
|
+
links?: {
|
|
18
|
+
href: string;
|
|
19
|
+
label: string;
|
|
20
|
+
active?: boolean;
|
|
21
|
+
}[];
|
|
22
|
+
children?: JSX.Element;
|
|
23
|
+
class?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function NavSection(props: NavSectionProps): JSX.Element;
|
|
26
|
+
export interface LateralNavProps {
|
|
27
|
+
transparent?: boolean;
|
|
28
|
+
children?: JSX.Element;
|
|
29
|
+
class?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function LateralNav(props: LateralNavProps): JSX.Element;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/lateral-nav/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAGnC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,eAO1C;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,eAY1C;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAC3D,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAuBhD;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAUhD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { JSX } from "solid-js";
|
|
2
|
+
export type LogoSize = "sm" | "md" | "lg" | "xl";
|
|
3
|
+
export interface LogoProps {
|
|
4
|
+
/** First word (light weight, muted color) */
|
|
5
|
+
firstWord?: string;
|
|
6
|
+
/** Second word (bold, with 3D effect) */
|
|
7
|
+
secondWord?: string;
|
|
8
|
+
/** Size variant of the logo */
|
|
9
|
+
size?: LogoSize;
|
|
10
|
+
/** Additional CSS classes */
|
|
11
|
+
class?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Two-word logo with retro synthwave 3D effect.
|
|
15
|
+
* First word is light/muted, second word has bold styling with pink 3D shadow.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // Default usage
|
|
19
|
+
* <Logo />
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // Custom text
|
|
23
|
+
* <Logo firstWord="My" secondWord="Brand" size="lg" />
|
|
24
|
+
*/
|
|
25
|
+
export declare function Logo(props: LogoProps): JSX.Element;
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/logo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,SAAS;IACxB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CA0BlD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export interface NavHeaderProps {
|
|
3
|
+
logo?: string;
|
|
4
|
+
logoAlt?: string;
|
|
5
|
+
logoText?: string;
|
|
6
|
+
children?: JSX.Element;
|
|
7
|
+
menuIcon?: JSX.Element;
|
|
8
|
+
onMenuClick?: () => void;
|
|
9
|
+
class?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function NavHeader(props: NavHeaderProps): JSX.Element;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/nav-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAGnC,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,eA4B9C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
export interface PageLayoutProps extends JSX.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** Content of the page */
|
|
4
|
+
children: JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* PageLayout provides consistent page structure with proper background and font styling.
|
|
8
|
+
* Use this as the root wrapper for all pages.
|
|
9
|
+
*/
|
|
10
|
+
export declare function PageLayout(props: PageLayoutProps): JSX.Element;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/page-layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAc,MAAM,UAAU,CAAA;AAE1C,MAAM,WAAW,eAAgB,SAAQ,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,0BAA0B;IAC1B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAQhD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export interface ProfileCardProps {
|
|
3
|
+
username: string;
|
|
4
|
+
avatar?: string;
|
|
5
|
+
bio?: string;
|
|
6
|
+
followers?: number;
|
|
7
|
+
following?: number;
|
|
8
|
+
actions?: JSX.Element;
|
|
9
|
+
class?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function ProfileCard(props: ProfileCardProps): JSX.Element;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/profile-card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAInC,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,eA2ClD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export type ProjectCardSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface ProjectCardProps {
|
|
4
|
+
/** Project name shown in tooltip on hover */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Image source for the project logo */
|
|
7
|
+
imageSrc: string;
|
|
8
|
+
/** Alt text for the image */
|
|
9
|
+
imageAlt?: string;
|
|
10
|
+
/** Optional link to the project */
|
|
11
|
+
href?: string;
|
|
12
|
+
/** Size of the card */
|
|
13
|
+
size?: ProjectCardSize;
|
|
14
|
+
/** Whether the project is inactive/greyed out */
|
|
15
|
+
inactive?: boolean;
|
|
16
|
+
/** Additional CSS class */
|
|
17
|
+
class?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Project card with logo and hover tooltip.
|
|
21
|
+
* Used for showcasing ecosystem projects.
|
|
22
|
+
*/
|
|
23
|
+
export declare function ProjectCard(props: ProjectCardProps): JSX.Element;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/project-card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAEnC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uBAAuB;IACvB,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAiChE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export type TimelineEventType = 'follow' | 'like' | 'comment' | 'event' | 'custom';
|
|
3
|
+
export interface TimelineItemProps {
|
|
4
|
+
type?: TimelineEventType;
|
|
5
|
+
icon?: JSX.Element;
|
|
6
|
+
leftUser?: {
|
|
7
|
+
name: string;
|
|
8
|
+
avatar?: string;
|
|
9
|
+
};
|
|
10
|
+
rightUser?: {
|
|
11
|
+
name: string;
|
|
12
|
+
avatar?: string;
|
|
13
|
+
};
|
|
14
|
+
message?: JSX.Element;
|
|
15
|
+
class?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function TimelineItem(props: TimelineItemProps): JSX.Element;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/timeline-item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAInC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAA;AAElF,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAkCD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,eA2BpD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
export interface DialogProps {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
children: JSX.Element;
|
|
6
|
+
tags?: string[];
|
|
7
|
+
primaryAction?: {
|
|
8
|
+
label: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
};
|
|
11
|
+
secondaryAction?: {
|
|
12
|
+
label: string;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
};
|
|
15
|
+
class?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function Dialog(props: DialogProps): JSX.Element;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAKnC,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,IAAI,CAAA;KACpB,CAAA;IACD,eAAe,CAAC,EAAE;QAChB,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,IAAI,CAAA;KACpB,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,eA+CxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitHubIcon.d.ts","sourceRoot":"","sources":["../../../src/icon/icons/GitHubIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAY9D"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Component, JSX } from 'solid-js';
|
|
2
|
+
export interface IconProps {
|
|
3
|
+
/** The icon component to render (should accept size and color props) */
|
|
4
|
+
icon: Component<{
|
|
5
|
+
size?: string | number;
|
|
6
|
+
color?: string;
|
|
7
|
+
}>;
|
|
8
|
+
/** Size of the icon (e.g., '24px' or 24) */
|
|
9
|
+
size?: string | number;
|
|
10
|
+
/** Color of the icon */
|
|
11
|
+
color?: string;
|
|
12
|
+
/** Whether to show the accent shadow effect (4px offset to bottom) */
|
|
13
|
+
withShadow?: boolean;
|
|
14
|
+
/** Additional CSS class */
|
|
15
|
+
class?: string;
|
|
16
|
+
/** Click handler */
|
|
17
|
+
onClick?: () => void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Icon wrapper component with optional accent shadow effect.
|
|
21
|
+
*
|
|
22
|
+
* The shadow effect creates a 4px offset accent-colored duplicate
|
|
23
|
+
* of the icon behind it for a stylized look.
|
|
24
|
+
*/
|
|
25
|
+
export declare function Icon(props: IconProps): JSX.Element;
|
|
26
|
+
export { GitHubIcon } from './icons/GitHubIcon';
|
|
27
|
+
export type { GitHubIconProps } from './icons/GitHubIcon';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAE9C,MAAM,WAAW,SAAS;IACxB,wEAAwE;IACxE,IAAI,EAAE,SAAS,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAC3D,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAoBlD;AAGD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export { Button } from './button';
|
|
2
|
+
export type { ButtonProps, ButtonVariant, ButtonStyle, StaticColor } from './button';
|
|
3
|
+
export { Badge } from './badge';
|
|
4
|
+
export type { BadgeProps, BadgeVariant, BadgeSize } from './badge';
|
|
5
|
+
export { Alert } from './alert';
|
|
6
|
+
export type { AlertProps, AlertVariant } from './alert';
|
|
7
|
+
export { Avatar, AvatarGroup } from './avatar';
|
|
8
|
+
export type { AvatarProps, AvatarGroupProps, AvatarSize } from './avatar';
|
|
9
|
+
export { TabSwitch, ToggleSwitch } from './switch';
|
|
10
|
+
export type { TabSwitchProps, ToggleSwitchProps, SwitchSize } from './switch';
|
|
11
|
+
export { Checkbox, CheckboxGroup } from './checkbox';
|
|
12
|
+
export type { CheckboxProps, CheckboxGroupProps, CheckboxSize } from './checkbox';
|
|
13
|
+
export { RadioGroup, Radio } from './radio';
|
|
14
|
+
export type { RadioGroupProps, RadioProps, RadioGroupOrientation, RadioGroupSize } from './radio';
|
|
15
|
+
export { Dialog } from './dialog';
|
|
16
|
+
export type { DialogProps } from './dialog';
|
|
17
|
+
export { Icon, GitHubIcon } from './icon';
|
|
18
|
+
export type { IconProps, GitHubIconProps } from './icon';
|
|
19
|
+
export { Tooltip } from './tooltip';
|
|
20
|
+
export type { TooltipProps } from './tooltip';
|
|
21
|
+
export { TextField } from './textfield';
|
|
22
|
+
export type { TextFieldProps, TextFieldSize, TextFieldVariant } from './textfield';
|
|
23
|
+
export { Link } from './link';
|
|
24
|
+
export type { LinkProps, LinkVariant } from './link';
|
|
25
|
+
export { ProgressBar } from './progress-bar';
|
|
26
|
+
export type { ProgressBarProps, ProgressBarSize, ProgressBarVariant } from './progress-bar';
|
|
27
|
+
export { Separator } from './separator';
|
|
28
|
+
export type { SeparatorProps, SeparatorVariant, SeparatorSize } from './separator';
|
|
29
|
+
export { Chip } from './custom/chip';
|
|
30
|
+
export type { ChipProps, ChipVariant } from './custom/chip';
|
|
31
|
+
export { NavHeader } from './custom/nav-header';
|
|
32
|
+
export type { NavHeaderProps } from './custom/nav-header';
|
|
33
|
+
export { LateralNav, NavItem, NavLink, NavSection } from './custom/lateral-nav';
|
|
34
|
+
export type { LateralNavProps, NavItemProps, NavLinkProps, NavSectionProps } from './custom/lateral-nav';
|
|
35
|
+
export { TimelineItem } from './custom/timeline-item';
|
|
36
|
+
export type { TimelineItemProps, TimelineEventType } from './custom/timeline-item';
|
|
37
|
+
export { Conversation, ConversationPreview, ConversationBubble } from './custom/conversation';
|
|
38
|
+
export type { ConversationProps, ConversationPreviewProps, ConversationBubbleProps, Message } from './custom/conversation';
|
|
39
|
+
export { ProfileCard } from './custom/profile-card';
|
|
40
|
+
export type { ProfileCardProps } from './custom/profile-card';
|
|
41
|
+
export { EventCard, EventListItem } from './custom/event-card';
|
|
42
|
+
export type { EventCardProps, EventListItemProps } from './custom/event-card';
|
|
43
|
+
export { CalendarCard } from './custom/calendar-card';
|
|
44
|
+
export type { CalendarCardProps } from './custom/calendar-card';
|
|
45
|
+
export { Logo } from './custom/logo';
|
|
46
|
+
export type { LogoProps, LogoSize } from './custom/logo';
|
|
47
|
+
export { ProjectCard } from './custom/project-card';
|
|
48
|
+
export type { ProjectCardProps, ProjectCardSize } from './custom/project-card';
|
|
49
|
+
export { PageLayout } from './custom/page-layout';
|
|
50
|
+
export type { PageLayoutProps } from './custom/page-layout';
|
|
51
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGnE,OAAO,EAAE,KAAK,EAAE,MA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