@beyondcorp/beyond-ui 1.0.4 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beyondcorp/beyond-ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A comprehensive React UI component library built with TypeScript, TailwindCSS, and CVA",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -12,7 +12,7 @@
12
12
  "scripts": {
13
13
  "dev": "vite",
14
14
  "build": "tsc && vite build",
15
- "build:lib": "tsc --project tsconfig.build.json && vite build --mode library",
15
+ "build:lib": "tsup",
16
16
  "lint": "eslint .",
17
17
  "preview": "vite preview",
18
18
  "storybook": "storybook dev -p 6006",
@@ -73,6 +73,7 @@
73
73
  "postcss": "^8.4.35",
74
74
  "storybook": "^7.6.6",
75
75
  "tailwindcss": "^3.4.1",
76
+ "tsup": "^8.5.0",
76
77
  "typescript": "^5.5.3",
77
78
  "typescript-eslint": "^8.3.0",
78
79
  "vite": "^5.4.2",
@@ -1,14 +0,0 @@
1
- declare const breakpoints: {
2
- readonly sm: 640;
3
- readonly md: 768;
4
- readonly lg: 1024;
5
- readonly xl: 1280;
6
- readonly '2xl': 1536;
7
- };
8
- type Breakpoint = keyof typeof breakpoints;
9
- export declare function useBreakpoint(): {
10
- currentBreakpoint: "sm" | "md" | "lg" | "xl" | "2xl";
11
- isAbove: (breakpoint: Breakpoint) => boolean;
12
- isBelow: (breakpoint: Breakpoint) => boolean;
13
- };
14
- export {};
@@ -1,4 +0,0 @@
1
- export declare function useDarkMode(): {
2
- isDarkMode: boolean;
3
- toggle: () => void;
4
- };
@@ -1 +0,0 @@
1
- export declare function useDebounce<T>(value: T, delay: number): T;
@@ -1 +0,0 @@
1
- export declare function useLocalStorage<T>(key: string, initialValue: T): [T, (value: T | ((val: T) => T)) => void, () => void];
@@ -1 +0,0 @@
1
- export declare function useToggle(initialValue?: boolean): [boolean, () => void, (value: boolean) => void];
@@ -1,69 +0,0 @@
1
- export declare const defaultTheme: {
2
- colors: {
3
- primary: {
4
- 50: string;
5
- 100: string;
6
- 200: string;
7
- 300: string;
8
- 400: string;
9
- 500: string;
10
- 600: string;
11
- 700: string;
12
- 800: string;
13
- 900: string;
14
- 950: string;
15
- };
16
- secondary: {
17
- 50: string;
18
- 100: string;
19
- 200: string;
20
- 300: string;
21
- 400: string;
22
- 500: string;
23
- 600: string;
24
- 700: string;
25
- 800: string;
26
- 900: string;
27
- 950: string;
28
- };
29
- danger: {
30
- 50: string;
31
- 100: string;
32
- 200: string;
33
- 300: string;
34
- 400: string;
35
- 500: string;
36
- 600: string;
37
- 700: string;
38
- 800: string;
39
- 900: string;
40
- 950: string;
41
- };
42
- success: {
43
- 50: string;
44
- 100: string;
45
- 200: string;
46
- 300: string;
47
- 400: string;
48
- 500: string;
49
- 600: string;
50
- 700: string;
51
- 800: string;
52
- 900: string;
53
- 950: string;
54
- };
55
- warning: {
56
- 50: string;
57
- 100: string;
58
- 200: string;
59
- 300: string;
60
- 400: string;
61
- 500: string;
62
- 600: string;
63
- 700: string;
64
- 800: string;
65
- 900: string;
66
- 950: string;
67
- };
68
- };
69
- };
@@ -1,3 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
-
3
- export declare function cn(...inputs: ClassValue[]): any;