0.1.2 • Published 6 months ago

@c-rex/components v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

C-Rex Components

A collection of reusable React components built on top of @c-rex/ui for the C-Rex application.

Features

  • Pre-built components following C-Rex design system
  • Built with TypeScript for type safety
  • Fully customizable and extensible
  • Integration with C-Rex services and utilities

Installation

This package is part of the C-Rex monorepo and comes pre-installed. If you need to install it separately:

npm install @c-rex/components

Available Components

AppSidebar

A navigation sidebar component that supports:

  • Nested menu items
  • Loading states with skeletons
  • Active state indicators
  • Collapsible functionality
import { AppSidebar } from '@c-rex/components';

<AppSidebar 
    data={treeData}
    loading={false}
/>

Development

Prerequisites

  • Node.js 18 or higher
  • Access to @c-rex/ui package
  • Access to @c-rex/interfaces package

Testing

npm run test

Storybook

View and interact with components in isolation:

npm run storybook

Contributing

  1. Components should be built using @c-rex/ui as the foundation
  2. Include TypeScript types
  3. Add Storybook stories for new components
  4. Write unit tests for component logic
  5. Follow the existing component patterns

Dependencies

  • @c-rex/ui: Base UI components
  • @c-rex/interfaces: Type definitions
  • @c-rex/services: API services
  • React 18+

License

Internal use only - C-Rex.net

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago