@resulbeser1/air-command-ui-components
Version:
UI Components for Air Command System
65 lines (47 loc) • 1.4 kB
Markdown
# Air Command UI Components
React component library for Air Command System.
## Installation
```bash
npm install @resulbeser1/air-command-ui-components
```
## Usage
```tsx
import { Button, Dialog, Table } from '@resulbeser1/air-command-ui-components';
function App() {
return (
<Button variant="primary" onClick={() => console.log('clicked')}>
Click me
</Button>
);
}
```
## Available Components
- **Button** - Primary, secondary, and utility buttons
- **Dialog** - Modal dialogs and confirmation dialogs
- **Table** - Data tables with sorting and filtering
- **Select** - Dropdown select components
- **TextInput** - Form input fields
- **Icon** - Icon library with Lucide React
- **Navbar** - Navigation components
- **Autocomplete** - Search and autocomplete inputs
- **DeleteConfirmationDialog** - Specialized confirmation modals
## Development
```bash
npm run dev # Development mode with watch
npm run build # Build for production
npm run test # Run tests
npm run storybook # Start Storybook development server
```
## Test Coverage
Current test coverage: **52.17%**
- Statements: 52.17%
- Branches: 45.83%
- Functions: 71.43%
- Lines: 52.17%
## Publishing to NPM Registry
```bash
npm run build
npm run publish:npm
```
## License
MIT License - see LICENSE file for details.