@expcat/tigercat-core 0.2.0 → 0.2.27

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 ADDED
@@ -0,0 +1,40 @@
1
+ # @expcat/tigercat-core
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@expcat/tigercat-core.svg)](https://www.npmjs.com/package/@expcat/tigercat-core)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
5
+
6
+ Core utilities and shared types for [Tigercat](https://github.com/expcats/Tigercat) UI library.
7
+
8
+ > ⚠️ **Internal Package** - This package is used internally by `@expcat/tigercat-vue` and `@expcat/tigercat-react`. You typically don't need to install it directly.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ pnpm add @expcat/tigercat-core
14
+ # or
15
+ npm install @expcat/tigercat-core
16
+ ```
17
+
18
+ ## Exports
19
+
20
+ | Module | Description |
21
+ | ------------------- | ------------------------------------------------------------------------------- |
22
+ | **Utils** | `classNames`, `coerceClassValue`, `copyText`, animation helpers, a11y utilities |
23
+ | **Types** | Shared TypeScript types for all components (Button, Input, Modal, Table, etc.) |
24
+ | **Theme** | CSS variables (`THEME_CSS_VARS`), color utilities, component theme configs |
25
+ | **Tailwind Plugin** | `tigercatPlugin` - Tailwind CSS plugin for theme integration |
26
+
27
+ ## Tailwind Plugin
28
+
29
+ ```js
30
+ // tailwind.config.js
31
+ import { tigercatPlugin } from '@expcat/tigercat-core'
32
+
33
+ export default {
34
+ plugins: [tigercatPlugin]
35
+ }
36
+ ```
37
+
38
+ ## License
39
+
40
+ [MIT](https://opensource.org/licenses/MIT)