moldekit-react 0.0.3 → 0.0.5

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,3 @@
1
+ import { MkButtonProps } from './MkButton.props.ts';
2
+ declare function MkButton({ variant, color, size, fullWidth, iconName, className, disabled, children, ...props }: MkButtonProps): import("react/jsx-runtime").JSX.Element;
3
+ export default MkButton;
@@ -0,0 +1,7 @@
1
+ export interface MkButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
2
+ variant?: 'filled' | 'outlined' | 'transparent' | 'iconOnly';
3
+ color?: 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info';
4
+ size?: 'small' | 'medium' | 'large';
5
+ fullWidth?: boolean;
6
+ iconName?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MkButton } from './MkButton';
2
+ export * from './MkButton.props';
@@ -0,0 +1,3 @@
1
+ export declare const IconMap: {
2
+ home: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
3
+ };
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ type TypographyProps = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const H1: React.FC<TypographyProps>;
6
+ export declare const H2: React.FC<TypographyProps>;
7
+ export declare const H3: React.FC<TypographyProps>;
8
+ export declare const H4: React.FC<TypographyProps>;
9
+ export declare const H5: React.FC<TypographyProps>;
10
+ export declare const H6: React.FC<TypographyProps>;
11
+ export declare const Body1: React.FC<TypographyProps>;
12
+ export declare const Body2: React.FC<TypographyProps>;
13
+ export declare const Caption: React.FC<TypographyProps>;
14
+ export declare const Label: React.FC<TypographyProps>;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ export { MkButton } from './components/MkButton';
2
+ export type { MkButtonProps } from './components/MkButton';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moldekit-react",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "Anderson Nieves",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "lint": "eslint .",
28
28
  "dev": "storybook dev -p 6006",
29
29
  "test": "vitest",
30
- "build:lib": "tsc && vite build",
30
+ "build:lib": "tsc --noEmit && vite build",
31
31
  "build:storybook": "storybook build"
32
32
  },
33
33
  "dependencies": {
@@ -67,6 +67,7 @@
67
67
  "typescript": "~5.8.3",
68
68
  "typescript-eslint": "^8.39.1",
69
69
  "vite": "^7.1.2",
70
+ "vite-plugin-dts": "^4.5.4",
70
71
  "vitest": "^3.2.4"
71
72
  }
72
73
  }