@iniguezmarc/design-system 0.0.7 → 0.0.8

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.
Files changed (38) hide show
  1. package/dist/App.d.ts +2 -0
  2. package/dist/components/atoms/Avatar/Avatar.d.ts +3 -0
  3. package/dist/components/atoms/Avatar/BasicAvatar.d.ts +19 -0
  4. package/dist/components/atoms/Avatar/StatusAvatar.d.ts +9 -0
  5. package/dist/components/atoms/Badge/Badge.d.ts +3 -0
  6. package/dist/components/atoms/Badge/BasicBadge.d.ts +20 -0
  7. package/dist/components/atoms/Badge/RemovableBadge.d.ts +6 -0
  8. package/dist/components/atoms/Button/BasicButton.d.ts +27 -0
  9. package/dist/components/atoms/Button/Button.d.ts +3 -0
  10. package/dist/components/atoms/Button/ThreeDButton.d.ts +2 -0
  11. package/dist/components/atoms/Input/BasicInput.d.ts +29 -0
  12. package/dist/components/atoms/Input/Input.d.ts +3 -0
  13. package/dist/components/atoms/Input/PasswordInput.d.ts +5 -0
  14. package/dist/components/atoms/Toggle/BasicToggle.d.ts +17 -0
  15. package/dist/components/atoms/Toggle/LanguageToggle.d.ts +16 -0
  16. package/dist/components/atoms/Toggle/ThemeToggle.d.ts +11 -0
  17. package/dist/components/molecules/ProjectCard/BasicProjectCard.d.ts +28 -0
  18. package/dist/components/molecules/ProjectCard/ProjectCard.d.ts +3 -0
  19. package/dist/{src/components/organisms/ContentGrid/ContentGrid.d.ts → components/organisms/ContentGrid/BasicContentGrid.d.ts} +6 -3
  20. package/dist/components/organisms/ContentGrid/ContentGrid.d.ts +3 -0
  21. package/dist/components/organisms/Footer/BasicFooter.d.ts +29 -0
  22. package/dist/components/organisms/Footer/Footer.d.ts +3 -0
  23. package/dist/components/organisms/Hero/BasicHero.d.ts +29 -0
  24. package/dist/components/organisms/Hero/Hero.d.ts +3 -0
  25. package/dist/components/organisms/Navbar/BasicNavbar.d.ts +39 -0
  26. package/dist/components/organisms/Navbar/Navbar.d.ts +5 -0
  27. package/dist/components/organisms/Navbar/ScrollNavbar.d.ts +30 -0
  28. package/dist/{src/components/organisms/ProfileSection/ProfileSection.d.ts → components/organisms/ProfileSection/BasicProfileSection.d.ts} +10 -3
  29. package/dist/components/organisms/ProfileSection/ProfileSection.d.ts +3 -0
  30. package/dist/index.d.ts +11 -1
  31. package/dist/main.d.ts +0 -0
  32. package/package.json +1 -1
  33. package/dist/src/components/atoms/Avatar/Avatar.d.ts +0 -14
  34. package/dist/src/components/atoms/Badge/Badge.d.ts +0 -11
  35. package/dist/src/components/atoms/Button/Button.d.ts +0 -11
  36. package/dist/src/components/atoms/Input/Input.d.ts +0 -7
  37. package/dist/src/components/organisms/Footer/Footer.d.ts +0 -22
  38. package/dist/src/components/organisms/Hero/Hero.d.ts +0 -22
package/dist/App.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare function App(): import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,3 @@
1
+ import { BasicAvatar, AvatarProps, AvatarSlots } from './BasicAvatar';
2
+ export { BasicAvatar as Avatar };
3
+ export type { AvatarProps, AvatarSlots };
@@ -0,0 +1,19 @@
1
+ export interface AvatarSlots {
2
+ container?: string;
3
+ image?: string;
4
+ }
5
+ export interface AvatarProps {
6
+ src: string;
7
+ alt?: string;
8
+ size?: 'sm' | 'md' | 'lg' | 'xl';
9
+ imageFit?: 'cover' | 'contain';
10
+ customStyles?: AvatarSlots;
11
+ className?: string;
12
+ borderColor?: string;
13
+ darkBorderColor?: string;
14
+ backgroundColor?: string;
15
+ darkBackgroundColor?: string;
16
+ /** Image loading strategy */
17
+ loading?: "eager" | "lazy";
18
+ }
19
+ export declare const BasicAvatar: ({ src, alt, size, imageFit, customStyles, className, borderColor, darkBorderColor, backgroundColor, darkBackgroundColor, loading, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { AvatarProps } from './BasicAvatar';
2
+ export type AvatarStatus = 'online' | 'offline' | 'busy' | 'away';
3
+ export interface StatusAvatarProps extends AvatarProps {
4
+ status?: AvatarStatus;
5
+ statusColor?: string;
6
+ statusBorderColor?: string;
7
+ darkStatusBorderColor?: string;
8
+ }
9
+ export declare const StatusAvatar: ({ status, statusColor, statusBorderColor, darkStatusBorderColor, className, customStyles, ...props }: StatusAvatarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BasicBadge, BadgeProps, BadgeSlots } from './BasicBadge';
2
+ export { BasicBadge as Badge };
3
+ export type { BadgeProps, BadgeSlots };
@@ -0,0 +1,20 @@
1
+ export interface BadgeSlots {
2
+ container?: string;
3
+ label?: string;
4
+ }
5
+ export interface BadgeProps {
6
+ label: string;
7
+ variant?: 'primary' | 'secondary' | 'outline' | 'success';
8
+ customStyles?: BadgeSlots;
9
+ className?: string;
10
+ primaryColor?: string;
11
+ darkPrimaryColor?: string;
12
+ secondaryColor?: string;
13
+ darkSecondaryColor?: string;
14
+ outlineColor?: string;
15
+ darkOutlineColor?: string;
16
+ successColor?: string;
17
+ darkSuccessColor?: string;
18
+ endIcon?: React.ReactNode;
19
+ }
20
+ export declare const BasicBadge: ({ label, variant, customStyles, className, endIcon, primaryColor, darkPrimaryColor, secondaryColor, darkSecondaryColor, outlineColor, darkOutlineColor, successColor, darkSuccessColor, }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { BadgeProps } from './BasicBadge';
2
+ export interface RemovableBadgeProps extends BadgeProps {
3
+ onRemove?: () => void;
4
+ removeIcon?: React.ReactNode;
5
+ }
6
+ export declare const RemovableBadge: ({ onRemove, removeIcon, className, customStyles, ...props }: RemovableBadgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,27 @@
1
+ export interface ButtonSlots {
2
+ container?: string;
3
+ label?: string;
4
+ }
5
+ export interface ButtonProps {
6
+ label: string;
7
+ variant?: 'primary' | 'secondary' | 'outline';
8
+ size?: 'small' | 'medium' | 'large';
9
+ onClick?: () => void;
10
+ className?: string;
11
+ customStyles?: ButtonSlots;
12
+ href?: string;
13
+ target?: string;
14
+ primaryColor?: string;
15
+ primaryHoverColor?: string;
16
+ darkPrimaryColor?: string;
17
+ darkPrimaryHoverColor?: string;
18
+ secondaryColor?: string;
19
+ secondaryHoverColor?: string;
20
+ darkSecondaryColor?: string;
21
+ darkSecondaryHoverColor?: string;
22
+ outlineColor?: string;
23
+ outlineHoverColor?: string;
24
+ darkOutlineColor?: string;
25
+ darkOutlineHoverColor?: string;
26
+ }
27
+ export declare const BasicButton: ({ label, variant, size, onClick, className, customStyles, href, target, primaryColor, primaryHoverColor, darkPrimaryColor, darkPrimaryHoverColor, secondaryColor, secondaryHoverColor, darkSecondaryColor, darkSecondaryHoverColor, outlineColor, outlineHoverColor, darkOutlineColor, darkOutlineHoverColor, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BasicButton, ButtonProps } from './BasicButton';
2
+ export { BasicButton as Button };
3
+ export type { ButtonProps };
@@ -0,0 +1,2 @@
1
+ import { ButtonProps } from './BasicButton';
2
+ export declare const ThreeDButton: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,29 @@
1
+ import { InputHTMLAttributes, ReactNode } from 'react';
2
+ export interface InputSlots {
3
+ container?: string;
4
+ label?: string;
5
+ input?: string;
6
+ error?: string;
7
+ iconContainer?: string;
8
+ }
9
+ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
10
+ label?: string;
11
+ error?: string;
12
+ customStyles?: InputSlots;
13
+ startIcon?: ReactNode;
14
+ endIcon?: ReactNode;
15
+ labelColor?: string;
16
+ darkLabelColor?: string;
17
+ inputBgColor?: string;
18
+ darkInputBgColor?: string;
19
+ inputBorderColor?: string;
20
+ darkInputBorderColor?: string;
21
+ inputTextColor?: string;
22
+ darkInputTextColor?: string;
23
+ focusRingColor?: string;
24
+ errorBorderColor?: string;
25
+ darkErrorBorderColor?: string;
26
+ errorTextColor?: string;
27
+ darkErrorTextColor?: string;
28
+ }
29
+ export declare const BasicInput: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,3 @@
1
+ import { BasicInput, InputProps, InputSlots } from './BasicInput';
2
+ export { BasicInput as Input };
3
+ export type { InputProps, InputSlots };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { InputProps } from './BasicInput';
3
+ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'endIcon'> {
4
+ }
5
+ export declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,17 @@
1
+ export interface ToggleSlots {
2
+ container?: string;
3
+ icon?: string;
4
+ }
5
+ export interface BasicToggleProps {
6
+ isToggled: boolean;
7
+ onToggle: () => void;
8
+ iconOn?: React.ReactNode;
9
+ iconOff?: React.ReactNode;
10
+ imageOn?: string;
11
+ imageOff?: string;
12
+ imageFit?: 'cover' | 'contain';
13
+ customStyles?: ToggleSlots;
14
+ className?: string;
15
+ title?: string;
16
+ }
17
+ export declare const BasicToggle: ({ isToggled, onToggle, iconOn, iconOff, imageOn, imageOff, imageFit, customStyles, className, title }: BasicToggleProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ export interface LanguageToggleProps {
2
+ initialLanguage?: 'en' | 'es';
3
+ onLanguageChange?: (lang: 'en' | 'es') => void;
4
+ className?: string;
5
+ customStyles?: {
6
+ container?: string;
7
+ icon?: string;
8
+ };
9
+ englishColor?: string;
10
+ englishBorderColor?: string;
11
+ englishTextColor?: string;
12
+ spanishColor?: string;
13
+ spanishBorderColor?: string;
14
+ spanishTextColor?: string;
15
+ }
16
+ export declare const LanguageToggle: ({ initialLanguage, onLanguageChange, className, customStyles, englishColor, englishBorderColor, englishTextColor, spanishColor, spanishBorderColor, spanishTextColor, }: LanguageToggleProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { BasicToggleProps } from './BasicToggle';
2
+ export type { ToggleSlots as ThemeToggleSlots } from './BasicToggle';
3
+ export interface ThemeToggleProps extends Omit<BasicToggleProps, 'isToggled' | 'onToggle' | 'iconOn' | 'iconOff' | 'imageOn' | 'imageOff'> {
4
+ isDark?: boolean;
5
+ onToggle?: () => void;
6
+ iconSun?: React.ReactNode;
7
+ iconMoon?: React.ReactNode;
8
+ sunImage?: string;
9
+ moonImage?: string;
10
+ }
11
+ export declare const ThemeToggle: ({ isDark: externalIsDark, onToggle: externalOnToggle, iconSun, iconMoon, sunImage, moonImage, customStyles, ...props }: ThemeToggleProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ export interface ProjectCardSlots {
2
+ container?: string;
3
+ imageWrapper?: string;
4
+ content?: string;
5
+ title?: string;
6
+ description?: string;
7
+ tagsContainer?: string;
8
+ /** URL the button links to */
9
+ projectUrl?: string;
10
+ linkTarget?: '_self' | '_blank';
11
+ /** Optional callback (if you prefer onClick) */
12
+ onViewProject?: () => void;
13
+ }
14
+ export interface BasicProjectCardProps {
15
+ title: string;
16
+ description: string;
17
+ image: string;
18
+ tags?: string[];
19
+ projectUrl?: string;
20
+ linkTarget?: '_self' | '_blank';
21
+ orientation?: 'vertical' | 'horizontal';
22
+ actionLabel?: string;
23
+ onViewProject?: () => void;
24
+ /** Hooks to customize internal style parts */
25
+ customStyles?: ProjectCardSlots;
26
+ className?: string;
27
+ }
28
+ export declare const BasicProjectCard: ({ title, description, image, tags, orientation, actionLabel, projectUrl, linkTarget, onViewProject, customStyles, className }: BasicProjectCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BasicProjectCard, BasicProjectCardProps } from './BasicProjectCard';
2
+ export { BasicProjectCard as ProjectCard };
3
+ export type { BasicProjectCardProps as ProjectCardProps };
@@ -10,13 +10,16 @@ export interface ContentGridSlots {
10
10
  container?: string;
11
11
  title?: string;
12
12
  }
13
- interface ContentGridProps {
13
+ export interface BasicContentGridProps {
14
14
  title?: string;
15
15
  items: GridItem[];
16
16
  layout?: 'grid' | 'list';
17
17
  itemButtonLabel?: string;
18
18
  onItemClick?: (id: string) => void;
19
19
  customStyles?: ContentGridSlots;
20
+ backgroundColor?: string;
21
+ darkBackgroundColor?: string;
22
+ titleColor?: string;
23
+ darkTitleColor?: string;
20
24
  }
21
- export declare const ContentGrid: ({ title, items, layout, itemButtonLabel, onItemClick, customStyles }: ContentGridProps) => import("react/jsx-runtime").JSX.Element;
22
- export {};
25
+ export declare const BasicContentGrid: ({ title, items, layout, itemButtonLabel, onItemClick, customStyles, backgroundColor, darkBackgroundColor, titleColor, darkTitleColor, }: BasicContentGridProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BasicContentGrid, BasicContentGridProps, GridItem, ContentGridSlots } from './BasicContentGrid';
2
+ export { BasicContentGrid as ContentGrid };
3
+ export type { BasicContentGridProps as ContentGridProps, GridItem, ContentGridSlots };
@@ -0,0 +1,29 @@
1
+ export interface SocialLink {
2
+ platform: string;
3
+ url: string;
4
+ }
5
+ export interface FooterLink {
6
+ label: string;
7
+ href: string;
8
+ }
9
+ export interface FooterSlots {
10
+ container?: string;
11
+ text?: string;
12
+ link?: string;
13
+ }
14
+ export interface BasicFooterProps {
15
+ copyrightOwner: string;
16
+ socialLinks: SocialLink[];
17
+ copyrightText?: string;
18
+ secondaryLinks?: FooterLink[];
19
+ customStyles?: FooterSlots;
20
+ backgroundColor?: string;
21
+ darkBackgroundColor?: string;
22
+ borderColor?: string;
23
+ darkBorderColor?: string;
24
+ textColor?: string;
25
+ darkTextColor?: string;
26
+ linksColor?: string;
27
+ linksHoverColor?: string;
28
+ }
29
+ export declare const BasicFooter: ({ copyrightOwner, copyrightText, socialLinks, secondaryLinks, customStyles, backgroundColor, darkBackgroundColor, borderColor, darkBorderColor, textColor, darkTextColor, linksColor, linksHoverColor, }: BasicFooterProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BasicFooter, BasicFooterProps, SocialLink, FooterLink, FooterSlots } from './BasicFooter';
2
+ export { BasicFooter as Footer };
3
+ export type { BasicFooterProps as FooterProps, SocialLink, FooterLink, FooterSlots };
@@ -0,0 +1,29 @@
1
+ export interface HeroAction {
2
+ label: string;
3
+ onClick: () => void;
4
+ variant?: 'primary' | 'secondary' | 'outline';
5
+ }
6
+ export interface HeroSlots {
7
+ container?: string;
8
+ content?: string;
9
+ title?: string;
10
+ subtitle?: string;
11
+ imageWrapper?: string;
12
+ }
13
+ export interface BasicHeroProps {
14
+ greeting?: string;
15
+ title: string;
16
+ subtitle: string;
17
+ imageUrl?: string;
18
+ actions?: HeroAction[];
19
+ customStyles?: HeroSlots;
20
+ backgroundColor?: string;
21
+ darkBackgroundColor?: string;
22
+ greetingColor?: string;
23
+ darkGreetingColor?: string;
24
+ titleColor?: string;
25
+ darkTitleColor?: string;
26
+ subtitleColor?: string;
27
+ darkSubtitleColor?: string;
28
+ }
29
+ export declare const BasicHero: ({ greeting, title, subtitle, imageUrl, actions, customStyles, backgroundColor, darkBackgroundColor, greetingColor, darkGreetingColor, titleColor, darkTitleColor, subtitleColor, darkSubtitleColor, }: BasicHeroProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BasicHero, BasicHeroProps, HeroAction, HeroSlots } from './BasicHero';
2
+ export { BasicHero as Hero };
3
+ export type { BasicHeroProps as HeroProps, HeroAction, HeroSlots };
@@ -0,0 +1,39 @@
1
+ import { MouseEvent } from 'react';
2
+ export interface NavbarLink {
3
+ label: string;
4
+ href: string;
5
+ active?: boolean;
6
+ }
7
+ export interface NavbarAction {
8
+ label: string;
9
+ onClick: () => void;
10
+ variant?: 'primary' | 'secondary' | 'outline';
11
+ }
12
+ export interface NavbarSlots {
13
+ container?: string;
14
+ logo?: string;
15
+ link?: string;
16
+ mobileMenu?: string;
17
+ }
18
+ export interface BasicNavbarProps {
19
+ logo?: string;
20
+ isLogoImage?: boolean;
21
+ links: NavbarLink[];
22
+ actions?: NavbarAction[];
23
+ customStyles?: NavbarSlots;
24
+ isOpen?: boolean;
25
+ onToggleMenu?: () => void;
26
+ onLinkClick?: (e: MouseEvent<HTMLAnchorElement>, href: string) => void;
27
+ onLogoClick?: () => void;
28
+ backgroundColor?: string;
29
+ darkBackgroundColor?: string;
30
+ borderColor?: string;
31
+ darkBorderColor?: string;
32
+ textColor?: string;
33
+ darkTextColor?: string;
34
+ activeLinkColor?: string;
35
+ darkActiveLinkColor?: string;
36
+ hoverLinkColor?: string;
37
+ darkHoverLinkColor?: string;
38
+ }
39
+ export declare const BasicNavbar: ({ logo, isLogoImage, links, actions, customStyles, isOpen, onToggleMenu, onLinkClick, onLogoClick, backgroundColor, darkBackgroundColor, borderColor, darkBorderColor, textColor, darkTextColor, activeLinkColor, darkActiveLinkColor, hoverLinkColor, darkHoverLinkColor, }: BasicNavbarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { ScrollNavbarProps, NavbarLink, NavbarAction, NavbarSlots } from './ScrollNavbar';
2
+ export interface NavbarProps extends Omit<ScrollNavbarProps, 'isOpen' | 'isScrolled' | 'onToggleMenu' | 'onLinkClick' | 'onLogoClick'> {
3
+ }
4
+ export declare const Navbar: (props: NavbarProps) => import("react/jsx-runtime").JSX.Element;
5
+ export type { NavbarLink, NavbarAction, NavbarSlots };
@@ -0,0 +1,30 @@
1
+ import { MouseEvent } from 'react';
2
+ export interface NavbarLink {
3
+ label: string;
4
+ href: string;
5
+ active?: boolean;
6
+ }
7
+ export interface NavbarAction {
8
+ label: string;
9
+ onClick: () => void;
10
+ variant?: 'primary' | 'secondary' | 'outline';
11
+ }
12
+ export interface NavbarSlots {
13
+ container?: string;
14
+ logo?: string;
15
+ link?: string;
16
+ mobileMenu?: string;
17
+ }
18
+ export interface ScrollNavbarProps {
19
+ logo?: string;
20
+ isLogoImage?: boolean;
21
+ links: NavbarLink[];
22
+ actions?: NavbarAction[];
23
+ customStyles?: NavbarSlots;
24
+ isOpen?: boolean;
25
+ isScrolled?: boolean;
26
+ onToggleMenu?: () => void;
27
+ onLinkClick?: (e: MouseEvent<HTMLAnchorElement>, href: string) => void;
28
+ onLogoClick?: () => void;
29
+ }
30
+ export declare const ScrollNavbar: ({ logo, isLogoImage, links, actions, customStyles, isOpen, isScrolled, onToggleMenu, onLinkClick, onLogoClick }: ScrollNavbarProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,7 @@ export interface ProfileSectionSlots {
6
6
  bio?: string;
7
7
  skillsTitle?: string;
8
8
  }
9
- interface ProfileSectionProps {
9
+ export interface BasicProfileSectionProps {
10
10
  /** Section title (ex: About Me) */
11
11
  title?: string;
12
12
  /** Profile photo URL */
@@ -20,6 +20,13 @@ interface ProfileSectionProps {
20
20
  /** Style hooks */
21
21
  customStyles?: ProfileSectionSlots;
22
22
  id?: string;
23
+ backgroundColor?: string;
24
+ darkBackgroundColor?: string;
25
+ borderColor?: string;
26
+ darkBorderColor?: string;
27
+ titleColor?: string;
28
+ darkTitleColor?: string;
29
+ textColor?: string;
30
+ darkTextColor?: string;
23
31
  }
24
- export declare const ProfileSection: ({ title, avatarUrl, bio, skillsTitle, skills, customStyles, id }: ProfileSectionProps) => import("react/jsx-runtime").JSX.Element;
25
- export {};
32
+ export declare const BasicProfileSection: ({ title, avatarUrl, bio, skillsTitle, skills, customStyles, id, backgroundColor, darkBackgroundColor, borderColor, darkBorderColor, titleColor, darkTitleColor, textColor, darkTextColor, }: BasicProfileSectionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BasicProfileSection, BasicProfileSectionProps, ProfileSectionSlots } from './BasicProfileSection';
2
+ export { BasicProfileSection as ProfileSection };
3
+ export type { BasicProfileSectionProps as ProfileSectionProps, ProfileSectionSlots };
package/dist/index.d.ts CHANGED
@@ -1 +1,11 @@
1
- export {}
1
+ export * from './components/atoms/Avatar/Avatar';
2
+ export * from './components/atoms/Badge/Badge';
3
+ export * from './components/atoms/Button/Button';
4
+ export * from './components/atoms/Input/Input';
5
+ export * from './components/atoms/Toggle/ThemeToggle';
6
+ export * from './components/molecules/ProjectCard/ProjectCard';
7
+ export * from './components/organisms/ContentGrid/ContentGrid';
8
+ export * from './components/organisms/Footer/Footer';
9
+ export * from './components/organisms/Hero/Hero';
10
+ export * from './components/organisms/Navbar/Navbar';
11
+ export * from './components/organisms/ProfileSection/ProfileSection';
package/dist/main.d.ts ADDED
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iniguezmarc/design-system",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
7
7
  "module": "./dist/index.es.js",
@@ -1,14 +0,0 @@
1
- export interface AvatarSlots {
2
- container?: string;
3
- image?: string;
4
- }
5
- interface AvatarProps {
6
- src: string;
7
- alt?: string;
8
- size?: 'sm' | 'md' | 'lg' | 'xl';
9
- imageFit?: 'cover' | 'contain';
10
- customStyles?: AvatarSlots;
11
- className?: string;
12
- }
13
- export declare const Avatar: ({ src, alt, size, imageFit, customStyles, className }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
14
- export {};
@@ -1,11 +0,0 @@
1
- export interface BadgeSlots {
2
- container?: string;
3
- }
4
- interface BadgeProps {
5
- label: string;
6
- variant?: 'primary' | 'secondary' | 'outline' | 'success';
7
- customStyles?: BadgeSlots;
8
- className?: string;
9
- }
10
- export declare const Badge: ({ label, variant, customStyles, className }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,11 +0,0 @@
1
- interface ButtonProps {
2
- label: string;
3
- variant?: 'primary' | 'secondary' | 'danger' | 'outline';
4
- size?: 'small' | 'medium' | 'large';
5
- onClick?: () => void;
6
- className?: string;
7
- href?: string;
8
- target?: string;
9
- }
10
- export declare const Button: ({ label, variant, size, onClick, className, href, target }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- label?: string;
4
- error?: string;
5
- }
6
- export declare const Input: ({ label, error, className, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,22 +0,0 @@
1
- interface SocialLink {
2
- platform: string;
3
- url: string;
4
- }
5
- interface FooterLink {
6
- label: string;
7
- href: string;
8
- }
9
- export interface FooterSlots {
10
- container?: string;
11
- text?: string;
12
- link?: string;
13
- }
14
- interface FooterProps {
15
- copyrightOwner: string;
16
- socialLinks: SocialLink[];
17
- copyrightText?: string;
18
- secondaryLinks?: FooterLink[];
19
- customStyles?: FooterSlots;
20
- }
21
- export declare const Footer: ({ copyrightOwner, copyrightText, socialLinks, secondaryLinks, customStyles }: FooterProps) => import("react/jsx-runtime").JSX.Element;
22
- export {};
@@ -1,22 +0,0 @@
1
- export interface HeroAction {
2
- label: string;
3
- onClick: () => void;
4
- variant?: 'primary' | 'secondary' | 'outline';
5
- }
6
- export interface HeroSlots {
7
- container?: string;
8
- content?: string;
9
- title?: string;
10
- subtitle?: string;
11
- imageWrapper?: string;
12
- }
13
- interface HeroProps {
14
- greeting?: string;
15
- title: string;
16
- subtitle: string;
17
- imageUrl?: string;
18
- actions?: HeroAction[];
19
- customStyles?: HeroSlots;
20
- }
21
- export declare const Hero: ({ greeting, title, subtitle, imageUrl, actions, customStyles }: HeroProps) => import("react/jsx-runtime").JSX.Element;
22
- export {};