@tuwaio/nova-core 0.1.1 → 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 +6 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,10 +20,9 @@ Building design systems requires consistent foundations: colors, spacing, typogr
|
|
|
20
20
|
|
|
21
21
|
Nova Core solves this by:
|
|
22
22
|
|
|
23
|
-
1. **
|
|
24
|
-
2. **
|
|
25
|
-
3. **
|
|
26
|
-
4. **Ensuring Tailwind CSS v4 Integration:** Seamless compatibility with modern Tailwind CSS workflows.
|
|
23
|
+
1. **Offering Smart Utilities:** Battle-tested helper functions like the `cn` utility that combines `clsx` and `tailwind-merge` for conflict-free styling.
|
|
24
|
+
2. **Supplying Common Hooks:** A collection of reusable React hooks for common Web3 UI patterns.
|
|
25
|
+
3. **Ensuring Tailwind CSS v4 Integration:** Seamless compatibility with modern Tailwind CSS workflows.
|
|
27
26
|
|
|
28
27
|
-----
|
|
29
28
|
|
|
@@ -227,9 +226,9 @@ function App() {
|
|
|
227
226
|
|
|
228
227
|
#### Utilities
|
|
229
228
|
|
|
230
|
-
| Function | Description | Usage
|
|
231
|
-
| :--- | :---
|
|
232
|
-
| **`cn(...classes)`** | Merges class names intelligently, resolving Tailwind conflicts | `cn('p-4 text-sm', 'p-6',
|
|
229
|
+
| Function | Description | Usage |
|
|
230
|
+
| :--- | :--- |:------------------------------------------|
|
|
231
|
+
| **`cn(...classes)`** | Merges class names intelligently, resolving Tailwind conflicts | `cn('p-4 text-sm', 'p-6', {'hidden': conditional})` |
|
|
233
232
|
|
|
234
233
|
#### Hooks
|
|
235
234
|
|