@mbao01/ui 0.0.5 → 0.0.6

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@mbao01/ui",
3
3
  "private": false,
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "type": "module",
6
6
  "author": "Ayomide Bakare",
7
7
  "license": "MIT",
@@ -82,5 +82,5 @@
82
82
  "tailwindcss": "^3.4.0",
83
83
  "typescript": "^5.2.2"
84
84
  },
85
- "gitHead": "c2c9b7d5cfa793a6c9e59f62814aa51de57ee42d"
85
+ "gitHead": "064ceb1c2cc52de66fde849a6289c3fc98cf33bf"
86
86
  }
@@ -1,2 +0,0 @@
1
- import { type ButtonProps } from "./types";
2
- export declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import type { ButtonSize, ButtonVariant } from './types';
2
- export declare const getButtonClasses: ({ size, wide, loading, outline, variant, }: {
3
- size?: ButtonSize | undefined;
4
- wide?: boolean | undefined;
5
- loading?: boolean | undefined;
6
- outline?: boolean | undefined;
7
- variant?: ButtonVariant | undefined;
8
- }) => string;
@@ -1 +0,0 @@
1
- export { Button } from "./Button";
@@ -1,12 +0,0 @@
1
- import type { ButtonHTMLAttributes, ReactNode } from 'react';
2
- export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
3
- export type ButtonVariant = 'default' | 'neutral' | 'primary' | 'secondary' | 'accent' | 'ghost' | 'link' | 'info' | 'success' | 'warning' | 'error';
4
- export type ButtonProps = {
5
- size?: ButtonSize;
6
- wide?: boolean;
7
- label: ReactNode;
8
- loading?: boolean;
9
- outline?: boolean;
10
- variant?: ButtonVariant;
11
- disabled?: boolean;
12
- } & ButtonHTMLAttributes<HTMLButtonElement>;
@@ -1,4 +0,0 @@
1
- import { type TextProps } from './types';
2
- export declare const Text: ({ as, size, variant, children, className }: TextProps) => import("react").DetailedReactHTMLElement<{
3
- className: string;
4
- }, HTMLElement>;
@@ -1,5 +0,0 @@
1
- import type { TextSize, TextVariant } from './types';
2
- export declare const getTextClasses: ({ size, variant }: {
3
- size?: TextSize | undefined;
4
- variant?: TextVariant | undefined;
5
- }) => string;
@@ -1 +0,0 @@
1
- export { Text } from './Text';
@@ -1,10 +0,0 @@
1
- export type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
2
- export type TextTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'span';
3
- export type TextVariant = 'info' | 'error' | 'success' | 'warning' | 'primary' | 'secondary' | 'accent' | 'neutral';
4
- export type TextProps = {
5
- as?: TextTag;
6
- size?: TextSize;
7
- variant?: TextVariant;
8
- children: React.ReactNode;
9
- className?: string;
10
- };
@@ -1,2 +0,0 @@
1
- export * from "./components/Button";
2
- export * from "./components/Text";