@libxai/board 0.8.0
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/LICENSE +20 -0
- package/README.md +67 -0
- package/dist/index.cjs +79 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +4378 -0
- package/dist/index.d.ts +4378 -0
- package/dist/index.js +79 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +9102 -0
- package/package.json +134 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
License text copyright (c) 2025 Asakaa
|
|
4
|
+
Licensed Work: ASAKAA Board
|
|
5
|
+
Licensed under the Business Source License 1.1
|
|
6
|
+
|
|
7
|
+
Additional Use Grant: You may use the Licensed Work for non-production purposes
|
|
8
|
+
without any limitations. Production use requires a commercial license.
|
|
9
|
+
|
|
10
|
+
Change Date: 2029-10-11
|
|
11
|
+
|
|
12
|
+
Change License: MIT License
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
For commercial licensing, contact: license@asakaa.com
|
|
17
|
+
|
|
18
|
+
The Licensed Work is provided "as is", without warranty of any kind, express or
|
|
19
|
+
implied, including but not limited to the warranties of merchantability, fitness
|
|
20
|
+
for a particular purpose and noninfringement.
|
package/README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# ASAKAA Board
|
|
2
|
+
|
|
3
|
+
AI-native Kanban board component for React. Built for performance and developer experience.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Blazing Fast**: 60 FPS with 10,000+ cards using automatic virtualization
|
|
8
|
+
- **AI-Powered**: Optional AI features for plan generation, risk prediction, and more
|
|
9
|
+
- **Keyboard First**: Full keyboard navigation support
|
|
10
|
+
- **Customizable**: Styled by default, fully customizable via render props
|
|
11
|
+
- **Tiny Bundle**: <100KB gzipped core (AI features optional)
|
|
12
|
+
- **Type Safe**: Written in TypeScript with complete type definitions
|
|
13
|
+
- **Framework Agnostic Backend**: Works with any backend (Supabase, Firebase, REST, GraphQL)
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install @libxai/board
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
For AI features (optional):
|
|
22
|
+
```bash
|
|
23
|
+
npm install ai
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Quick Start
|
|
27
|
+
|
|
28
|
+
```tsx
|
|
29
|
+
import { KanbanBoard, useKanbanState } from '@libxai/board'
|
|
30
|
+
import '@libxai/board/styles.css'
|
|
31
|
+
|
|
32
|
+
function App() {
|
|
33
|
+
const { board, callbacks } = useKanbanState({
|
|
34
|
+
initialBoard: {
|
|
35
|
+
id: 'my-board',
|
|
36
|
+
columns: [
|
|
37
|
+
{ id: 'col-1', title: 'To Do', position: 1000, cardIds: [] },
|
|
38
|
+
{ id: 'col-2', title: 'Done', position: 2000, cardIds: [] }
|
|
39
|
+
],
|
|
40
|
+
cards: []
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
return <KanbanBoard board={board} callbacks={callbacks} />
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Documentation
|
|
49
|
+
|
|
50
|
+
- [API Reference](./docs/api.md)
|
|
51
|
+
- [Examples](./examples/)
|
|
52
|
+
- [Storybook](https://asakaa-storybook.netlify.app) (coming soon)
|
|
53
|
+
|
|
54
|
+
## Performance
|
|
55
|
+
|
|
56
|
+
- Renders 1,000 cards in <1 second
|
|
57
|
+
- Maintains 60 FPS during drag operations
|
|
58
|
+
- Automatic virtualization for large lists
|
|
59
|
+
- Optimized with React.memo and atomic state
|
|
60
|
+
|
|
61
|
+
## License
|
|
62
|
+
|
|
63
|
+
Business Source License 1.1 - See LICENSE file
|
|
64
|
+
|
|
65
|
+
## Contributing
|
|
66
|
+
|
|
67
|
+
This is a commercial open source project. Contributions welcome!
|