@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/dist/index.cjs +2438 -397
- package/dist/index.d.cts +348 -0
- package/dist/index.d.ts +348 -28
- package/dist/index.js +1143 -4913
- package/package.json +3 -2
- package/dist/hooks/useBreakpoint.d.ts +0 -14
- package/dist/hooks/useDarkMode.d.ts +0 -4
- package/dist/hooks/useDebounce.d.ts +0 -1
- package/dist/hooks/useLocalStorage.d.ts +0 -1
- package/dist/hooks/useToggle.d.ts +0 -1
- package/dist/theme/default.d.ts +0 -69
- package/dist/utils/cn.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beyondcorp/beyond-ui",
|
|
3
|
-
"version": "1.0.
|
|
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": "
|
|
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 +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];
|
package/dist/theme/default.d.ts
DELETED
|
@@ -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
|
-
};
|
package/dist/utils/cn.d.ts
DELETED