@ttianqii/takaui 0.0.72 → 0.1.2
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/README.md +28 -14
- package/dist/takaui.cjs +13 -13
- package/dist/takaui.js +2840 -2914
- package/package.json +4 -7
- package/src/cli/setup.js +26 -38
- package/dist/takaui.css +0 -1
package/README.md
CHANGED
|
@@ -6,15 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
A modern, customizable React UI component library built with TypeScript, Tailwind CSS, and Radix UI primitives.
|
|
8
8
|
|
|
9
|
-
**Current Version:** 0.0
|
|
9
|
+
**Current Version:** 0.1.0
|
|
10
10
|
|
|
11
|
-
## ✨ What's New in 0.0
|
|
11
|
+
## ✨ What's New in 0.1.0
|
|
12
12
|
|
|
13
|
-
- 🎯 **
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
- 📅 **Schedule Component** - Now supports Date type in custom metadata fields
|
|
17
|
-
- 🐛 **Bug Fixes** - Text alignment and various improvements
|
|
13
|
+
- 🎯 **Table Alignment Fixed** - Table cells now properly align horizontally with headers
|
|
14
|
+
- 📐 **Consistent Padding** - Checkbox columns and all table content use matching padding (px-3 py-2)
|
|
15
|
+
- ✨ **Previous Features** - All v0.0.9 features (no CSS imports, pure Tailwind, original design preserved)
|
|
18
16
|
|
|
19
17
|
## 📦 Installation
|
|
20
18
|
|
|
@@ -29,9 +27,10 @@ npx takaui-setup
|
|
|
29
27
|
|
|
30
28
|
This will:
|
|
31
29
|
- ✅ Configure your Tailwind config automatically
|
|
32
|
-
- ✅ Add CSS import to your main file
|
|
33
30
|
- ✅ Verify your setup is correct
|
|
34
31
|
|
|
32
|
+
**No CSS imports needed!** Components work with pure Tailwind CSS.
|
|
33
|
+
|
|
35
34
|
### Manual Installation
|
|
36
35
|
|
|
37
36
|
If you prefer manual setup:
|
|
@@ -50,6 +49,8 @@ pnpm add @ttianqii/takaui
|
|
|
50
49
|
bun add @ttianqii/takaui
|
|
51
50
|
```
|
|
52
51
|
|
|
52
|
+
**That's it!** Just make sure you have Tailwind CSS configured in your project.
|
|
53
|
+
|
|
53
54
|
### Peer Dependencies
|
|
54
55
|
|
|
55
56
|
TakaUI requires React 18+ or React 19+:
|
|
@@ -70,7 +71,18 @@ bun add react react-dom
|
|
|
70
71
|
|
|
71
72
|
### Tailwind CSS Setup
|
|
72
73
|
|
|
73
|
-
TakaUI uses Tailwind CSS for styling.
|
|
74
|
+
**Important:** TakaUI uses Tailwind CSS for styling (no CSS imports needed!). You must have Tailwind CSS configured in your project.
|
|
75
|
+
|
|
76
|
+
#### 1. Install Tailwind CSS (if not already installed)
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npm install -D tailwindcss postcss autoprefixer
|
|
80
|
+
npx tailwindcss init -p
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
#### 2. Configure Tailwind
|
|
84
|
+
|
|
85
|
+
Add TakaUI to your `tailwind.config.js` content paths:
|
|
74
86
|
|
|
75
87
|
```js
|
|
76
88
|
/** @type {import('tailwindcss').Config} */
|
|
@@ -87,15 +99,17 @@ export default {
|
|
|
87
99
|
}
|
|
88
100
|
```
|
|
89
101
|
|
|
90
|
-
|
|
102
|
+
#### 3. Add Tailwind directives
|
|
91
103
|
|
|
92
|
-
|
|
104
|
+
In your main CSS file (e.g., `src/index.css`):
|
|
93
105
|
|
|
94
|
-
```
|
|
95
|
-
|
|
106
|
+
```css
|
|
107
|
+
@tailwind base;
|
|
108
|
+
@tailwind components;
|
|
109
|
+
@tailwind utilities;
|
|
96
110
|
```
|
|
97
111
|
|
|
98
|
-
|
|
112
|
+
**That's it!** No CSS imports needed from TakaUI. 🎉
|
|
99
113
|
|
|
100
114
|
## 🚀 Quick Start
|
|
101
115
|
|