@expcat/tigercat-react 0.2.0 → 0.2.10
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 +59 -0
- package/package.json +6 -2
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# @expcat/tigercat-react
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@expcat/tigercat-react)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
React UI components for [Tigercat](https://github.com/expcats/Tigercat) - A Tailwind CSS based component library.
|
|
7
|
+
|
|
8
|
+
## 📖 Documentation
|
|
9
|
+
|
|
10
|
+
**[Live Demo & Docs →](https://expcat.github.io/Tigercat/react/)**
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pnpm add @expcat/tigercat-react
|
|
16
|
+
# or
|
|
17
|
+
npm install @expcat/tigercat-react
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Requirements:** React ≥19, Tailwind CSS ≥3.4
|
|
21
|
+
|
|
22
|
+
## Quick Start
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
import { ConfigProvider, Button } from '@expcat/tigercat-react'
|
|
26
|
+
|
|
27
|
+
function App() {
|
|
28
|
+
return (
|
|
29
|
+
<ConfigProvider>
|
|
30
|
+
<Button variant="primary">Click me</Button>
|
|
31
|
+
</ConfigProvider>
|
|
32
|
+
)
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Components
|
|
37
|
+
|
|
38
|
+
| Category | Components |
|
|
39
|
+
| -------------- | ------------------------------------------------------------------------------------- |
|
|
40
|
+
| **Basic** | Alert, Avatar, Badge, Button, Code, Divider, Icon, Link, Tag, Text |
|
|
41
|
+
| **Form** | Input, Select, Checkbox, Radio, Switch, Slider, DatePicker, TimePicker, Upload, Form |
|
|
42
|
+
| **Layout** | Card, Container, Grid (Row/Col), Layout, List, Descriptions, Skeleton, Space |
|
|
43
|
+
| **Navigation** | Menu, Tabs, Breadcrumb, Pagination, Steps, Dropdown, Tree |
|
|
44
|
+
| **Feedback** | Modal, Drawer, Message, Notification, Loading, Popconfirm, Popover, Tooltip, Progress |
|
|
45
|
+
| **Data** | Table, Timeline |
|
|
46
|
+
| **Charts** | BarChart, LineChart, AreaChart, PieChart, DonutChart, RadarChart, ScatterChart |
|
|
47
|
+
|
|
48
|
+
## Hooks
|
|
49
|
+
|
|
50
|
+
- `useChartInteraction` - Chart interaction utilities
|
|
51
|
+
- `useFormContext` - Form state management
|
|
52
|
+
- `useMenuContext` - Menu state access
|
|
53
|
+
- `useTabsContext` - Tabs state access
|
|
54
|
+
- `useBreadcrumbContext` - Breadcrumb navigation
|
|
55
|
+
- `useStepsContext` - Steps state access
|
|
56
|
+
|
|
57
|
+
## License
|
|
58
|
+
|
|
59
|
+
[MIT](https://opensource.org/licenses/MIT)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "React components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"url": "https://github.com/expcats/Tigercat.git",
|
|
10
10
|
"directory": "packages/react"
|
|
11
11
|
},
|
|
12
|
+
"homepage": "https://expcat.github.io/Tigercat/react/",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/expcats/Tigercat/issues"
|
|
15
|
+
},
|
|
12
16
|
"keywords": [
|
|
13
17
|
"tigercat",
|
|
14
18
|
"ui",
|
|
@@ -38,7 +42,7 @@
|
|
|
38
42
|
"access": "public"
|
|
39
43
|
},
|
|
40
44
|
"dependencies": {
|
|
41
|
-
"@expcat/tigercat-core": "0.2.
|
|
45
|
+
"@expcat/tigercat-core": "0.2.10"
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
44
48
|
"@types/node": "^25.0.3",
|