@moontra/moonui-pro 2.24.2 → 2.24.4

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 CHANGED
@@ -1,256 +1,530 @@
1
- # MoonUI Pro - Premium React Components
1
+ # MoonUI Pro 🌙✨
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@moontra/moonui-pro.svg)](https://www.npmjs.com/package/@moontra/moonui-pro)
4
- [![License: Commercial](https://img.shields.io/badge/License-Commercial-red.svg)](https://moonui.dev/license)
5
- [![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)
6
-
7
- Premium React components for MoonUI. Advanced UI components with pro features for building sophisticated web applications.
8
-
9
- ## 🚀 Pro Components (Latest v2.0.0)
10
-
11
- ### Core Enterprise Components
12
- - **📊 Advanced Data Table** - Enterprise-grade data grid with sorting, filtering, pagination, export, and virtual scrolling
13
- - **📈 Advanced Charts** - Interactive charts with animations, real-time updates, and multiple chart types
14
- - **📅 Calendar Pro** - Full-featured calendar with events, recurring dates, time zones, and event dialog management
15
- - **📝 Rich Text Editor Pro** - Advanced WYSIWYG editor with slash commands, AI assistance, and collaboration features
16
- - **📤 File Upload Pro** - Drag & drop with progress tracking, image editing, and cloud storage integration
17
- - **🗂️ Kanban Board** - Drag & drop project management with swimlanes, custom fields, and team collaboration
18
- - **📍 Timeline** - Interactive project timeline with milestones, dependencies, and custom content
19
-
20
- ### Performance & Data Components
21
- - **🚀 Memory Efficient Data** - Optimized data handling for large datasets with lazy loading and pagination
22
- - **📊 Virtual List Pro** - High-performance virtualization for millions of items with smooth scrolling
23
- - **📋 Dashboard Components** - Pre-built dashboard widgets and layouts for analytics
24
-
25
- ### New in v2.0.0
26
- - **Event Dialog System** - Advanced event management for Calendar Pro
27
- - **Slash Commands** - Rich text editor with AI-powered command palette
28
- - **Table Styling** - Enhanced table components with advanced styling options
29
- - **Advanced Chart Types** - New chart variants including heatmaps, treemaps, and custom visualizations
3
+ Premium React components for advanced web applications. MoonUI Pro extends the base MoonUI library with sophisticated, enterprise-grade components designed for complex use cases and professional applications.
30
4
 
31
- ## Installation
5
+ [![npm version](https://badge.fury.io/js/%40moontra%2Fmoonui-pro.svg)](https://badge.fury.io/js/%40moontra%2Fmoonui-pro)
6
+ [![License: Commercial](https://img.shields.io/badge/License-Commercial-red.svg)](https://moonui.dev/license)
7
+ [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)
8
+
9
+ ## ✨ What's Included
10
+
11
+ ### 📊 **Data & Analytics**
12
+ - **Advanced DataTable** - Virtualized tables with sorting, filtering, pagination, row selection
13
+ - **Charts Library** - Beautiful data visualizations with Recharts integration
14
+ - **Dashboard Widgets** - KPI cards, metrics displays, and analytics components
15
+ - **TreeView** - Hierarchical data display with drag & drop
16
+ - **Timeline** - Event timelines with rich content support
17
+
18
+ ### ✏️ **Rich Content & Editors**
19
+ - **RichTextEditor** - WYSIWYG editor with markdown support
20
+ - **CodeEditor** - Syntax-highlighted code input with multiple languages
21
+ - **FormWizard** - Multi-step forms with validation and progress tracking
22
+ - **JSONEditor** - Visual JSON editing with validation
23
+ - **MarkdownEditor** - Live markdown editor with preview
24
+
25
+ ### 🎮 **Interactive & Gesture**
26
+ - **DragDropList** - Sortable lists with smooth animations
27
+ - **SwipeableCard** - Touch-friendly card components
28
+ - **GestureDrawer** - Mobile-optimized drawer with gestures
29
+ - **VirtualList** - High-performance virtualized lists
30
+ - **InfiniteScroll** - Lazy loading with infinite scrolling
31
+
32
+ ### 📅 **Advanced Date & Time**
33
+ - **DateRangePicker** - Powerful date range selection
34
+ - **TimezonePicker** - Timezone selection with search
35
+ - **RecurrencePicker** - Recurring event configuration
36
+ - **EventCalendar** - Full-featured calendar with event management
37
+ - **WeekView** - Week-based calendar layout
38
+
39
+ ### 🎨 **Media & Visualization**
40
+ - **VideoPlayer** - Custom video player with controls
41
+ - **ImageCropper** - Image cropping with aspect ratio controls
42
+ - **ColorPalette** - Advanced color selection tools
43
+ - **IconLibrary** - Comprehensive icon browser and picker
44
+ - **ChartBuilder** - Interactive chart creation tool
45
+
46
+ ### 🔧 **Advanced UI Patterns**
47
+ - **CommandPalette** - Keyboard-driven command interface
48
+ - **Spotlight** - macOS-style search and command launcher
49
+ - **SplitPane** - Resizable panel layouts
50
+ - **Kanban** - Drag-and-drop board layouts
51
+ - **NotificationCenter** - Advanced notification management
52
+
53
+ ## 🚀 Quick Start
54
+
55
+ ### Installation
32
56
 
33
57
  ```bash
58
+ # Install MoonUI Pro
34
59
  npm install @moontra/moonui-pro
35
- ```
36
-
37
- **Note**: This package requires an active MoonUI Pro license. Visit [moonui.dev/pro](https://moonui.dev/pro) to get your license.
38
60
 
39
- ## Usage
40
-
41
- ### 1. Import Components
61
+ # Ensure base MoonUI is installed
62
+ npm install @moontra/moonui
63
+ ```
42
64
 
43
- ```tsx
44
- import {
45
- DataTableCore,
46
- CalendarCore,
47
- KanbanCore,
48
- RichTextEditorCore,
49
- AdvancedChartCore
50
- } from '@moontra/moonui-pro'
65
+ ### CDN Usage (Browser/Artifacts)
66
+
67
+ For quick prototyping or artifact environments:
68
+
69
+ ```html
70
+ <!-- Dependencies -->
71
+ <script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
72
+ <script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
73
+
74
+ <!-- Base MoonUI -->
75
+ <script src="https://cdn.jsdelivr.net/npm/@moontra/moonui@2.3.2/dist/index.global.js"></script>
76
+
77
+ <!-- MoonUI Pro -->
78
+ <script src="https://cdn.jsdelivr.net/npm/@moontra/moonui-pro@2.24.3/dist/index.global.js"></script>
79
+
80
+ <script>
81
+ const { Button } = window.MoonUI;
82
+ const { DataTable, Charts } = window.MoonUIPro;
83
+
84
+ function App() {
85
+ return React.createElement('div', null,
86
+ React.createElement(Button, null, 'Base Component'),
87
+ React.createElement(DataTable, {
88
+ data: [],
89
+ columns: []
90
+ }, 'Pro Component')
91
+ );
92
+ }
93
+
94
+ ReactDOM.render(React.createElement(App), document.getElementById('root'));
95
+ </script>
51
96
  ```
52
97
 
53
- ### 2. Create Wrapper Components (Recommended)
98
+ ### Setup
54
99
 
55
- For maximum customization, we recommend creating wrapper components:
100
+ 1. **Configure your license** (required for production)
56
101
 
57
- ```tsx
58
- // components/pro/data-table.tsx
59
- import { DataTableCore } from '@moontra/moonui-pro'
60
- import type { DataTableProps } from '@moontra/moonui-pro'
102
+ ```bash
103
+ # Set your license key
104
+ export MOONUI_PRO_LICENSE="your-license-key"
61
105
 
62
- export function DataTable<TData, TValue = unknown>(
63
- props: DataTableProps<TData, TValue>
64
- ) {
65
- return (
66
- <DataTableCore
67
- {...props}
68
- theme={{
69
- headerBg: '#custom-color',
70
- ...props.theme
71
- }}
72
- features={{
73
- virtualScrolling: true,
74
- export: ['csv', 'excel'],
75
- ...props.features
76
- }}
77
- />
78
- )
79
- }
106
+ # Or in your .env file
107
+ MOONUI_PRO_LICENSE=your-license-key
80
108
  ```
81
109
 
82
- ### 3. Advanced Usage Examples
110
+ 2. **Import and use components**
111
+
112
+ ```jsx
113
+ import { Button, Card } from '@moontra/moonui';
114
+ import { DataTable, Charts, RichTextEditor } from '@moontra/moonui-pro';
83
115
 
84
- #### Calendar with Event Management
85
- ```tsx
86
- import { CalendarCore, EventDialog } from '@moontra/moonui-pro'
116
+ function App() {
117
+ const data = [
118
+ { id: 1, name: 'John', email: 'john@example.com' },
119
+ { id: 2, name: 'Jane', email: 'jane@example.com' },
120
+ ];
87
121
 
88
- function EventCalendar() {
89
- const [events, setEvents] = useState([])
90
- const [selectedEvent, setSelectedEvent] = useState(null)
122
+ const columns = [
123
+ { accessorKey: 'name', header: 'Name' },
124
+ { accessorKey: 'email', header: 'Email' },
125
+ ];
91
126
 
92
127
  return (
93
- <>
94
- <CalendarCore
95
- events={events}
96
- onEventClick={setSelectedEvent}
97
- onDateSelect={(date) => {
98
- // Create new event
99
- }}
128
+ <Card className="p-6">
129
+ <h1 className="text-2xl font-bold mb-4">MoonUI Pro Demo</h1>
130
+
131
+ {/* Pro DataTable */}
132
+ <DataTable
133
+ data={data}
134
+ columns={columns}
100
135
  features={{
101
- recurringEvents: true,
102
- timeZones: true,
103
- dragDrop: true
136
+ sorting: true,
137
+ filtering: true,
138
+ pagination: true
104
139
  }}
105
140
  />
106
141
 
107
- <EventDialog
108
- event={selectedEvent}
109
- open={!!selectedEvent}
110
- onClose={() => setSelectedEvent(null)}
111
- onSave={(updatedEvent) => {
112
- // Update event
113
- }}
142
+ {/* Pro Rich Text Editor */}
143
+ <RichTextEditor
144
+ placeholder="Start writing..."
145
+ className="mt-4"
114
146
  />
115
- </>
116
- )
147
+ </Card>
148
+ );
117
149
  }
118
150
  ```
119
151
 
120
- #### Rich Text Editor with Slash Commands
121
- ```tsx
122
- import { RichTextEditorCore } from '@moontra/moonui-pro'
152
+ ## 📊 Component Categories
123
153
 
124
- function DocumentEditor() {
125
- return (
126
- <RichTextEditorCore
127
- features={{
128
- slashCommands: true,
129
- aiAssistance: true,
130
- collaboration: true,
131
- tables: true
132
- }}
133
- slashCommands={[
134
- { trigger: '/table', action: 'insertTable' },
135
- { trigger: '/ai', action: 'openAiAssistant' },
136
- { trigger: '/image', action: 'insertImage' }
137
- ]}
138
- onSlashCommand={(command) => {
139
- // Handle slash command
140
- }}
141
- />
142
- )
143
- }
154
+ ### Data Tables & Grids
155
+ ```jsx
156
+ import { DataTable, VirtualTable, TreeTable } from '@moontra/moonui-pro';
157
+
158
+ // Advanced data table with all features
159
+ <DataTable
160
+ data={data}
161
+ columns={columns}
162
+ features={{
163
+ sorting: true,
164
+ filtering: true,
165
+ pagination: true,
166
+ rowSelection: true,
167
+ columnResizing: true,
168
+ virtualScrolling: true
169
+ }}
170
+ onRowClick={handleRowClick}
171
+ onSelectionChange={handleSelection}
172
+ />
144
173
  ```
145
174
 
146
- #### Virtual List for Large Datasets
147
- ```tsx
148
- import { VirtualListCore, MemoryEfficientData } from '@moontra/moonui-pro'
175
+ ### Charts & Visualizations
176
+ ```jsx
177
+ import { LineChart, BarChart, PieChart, ScatterChart } from '@moontra/moonui-pro';
178
+
179
+ // Beautiful charts with animations
180
+ <LineChart
181
+ data={chartData}
182
+ xAxis={{ dataKey: 'month' }}
183
+ yAxis={{ domain: [0, 100] }}
184
+ animations={{
185
+ duration: 800,
186
+ easing: 'easeInOut'
187
+ }}
188
+ />
189
+ ```
149
190
 
150
- function LargeDatasetView() {
151
- const largeDataset = Array.from({ length: 1000000 }, (_, i) => ({
152
- id: i,
153
- name: `Item ${i}`,
154
- value: Math.random() * 100
155
- }))
191
+ ### Rich Content Editors
192
+ ```jsx
193
+ import { RichTextEditor, CodeEditor, MarkdownEditor } from '@moontra/moonui-pro';
194
+
195
+ // WYSIWYG editor with toolbar
196
+ <RichTextEditor
197
+ value={content}
198
+ onChange={setContent}
199
+ toolbar={{
200
+ bold: true,
201
+ italic: true,
202
+ link: true,
203
+ image: true,
204
+ codeBlock: true
205
+ }}
206
+ placeholder="Start writing..."
207
+ />
208
+ ```
156
209
 
157
- return (
158
- <MemoryEfficientData
159
- data={largeDataset}
160
- chunkSize={1000}
161
- renderChunk={(chunk) => (
162
- <VirtualListCore
163
- items={chunk}
164
- itemHeight={50}
165
- height={600}
166
- renderItem={({ item, index }) => (
167
- <div key={item.id} className="p-2 border-b">
168
- <span className="font-medium">{item.name}</span>
169
- <span className="ml-2 text-gray-500">{item.value.toFixed(2)}</span>
170
- </div>
171
- )}
172
- />
173
- )}
174
- />
175
- )
210
+ ### Form Components
211
+ ```jsx
212
+ import { FormWizard, DateRangePicker, ColorPalette } from '@moontra/moonui-pro';
213
+
214
+ // Multi-step form wizard
215
+ <FormWizard
216
+ steps={[
217
+ { title: 'Personal Info', component: PersonalInfoStep },
218
+ { title: 'Preferences', component: PreferencesStep },
219
+ { title: 'Review', component: ReviewStep }
220
+ ]}
221
+ onComplete={handleFormComplete}
222
+ validation={formValidation}
223
+ />
224
+ ```
225
+
226
+ ### Interactive Components
227
+ ```jsx
228
+ import { DragDropList, SwipeableCard, VirtualList } from '@moontra/moonui-pro';
229
+
230
+ // Sortable list with drag & drop
231
+ <DragDropList
232
+ items={listItems}
233
+ onReorder={handleReorder}
234
+ renderItem={({ item, dragHandleProps }) => (
235
+ <div {...dragHandleProps}>
236
+ {item.name}
237
+ </div>
238
+ )}
239
+ />
240
+ ```
241
+
242
+ ## 🎨 Advanced Theming
243
+
244
+ MoonUI Pro extends the base theming system:
245
+
246
+ ```css
247
+ :root {
248
+ /* Pro-specific color variables */
249
+ --chart-primary: 217 91% 60%;
250
+ --chart-secondary: 174 100% 29%;
251
+ --editor-background: 0 0% 98%;
252
+ --data-grid-header: 210 20% 98%;
253
+
254
+ /* Animation variables */
255
+ --animation-duration-fast: 150ms;
256
+ --animation-duration-normal: 300ms;
257
+ --animation-duration-slow: 500ms;
176
258
  }
177
259
  ```
178
260
 
179
- ## Customization
261
+ ### Custom Chart Themes
262
+ ```jsx
263
+ import { ChartThemeProvider } from '@moontra/moonui-pro';
180
264
 
181
- All Pro components support extensive customization:
265
+ const customChartTheme = {
266
+ colors: ['#8884d8', '#82ca9d', '#ffc658', '#ff7300'],
267
+ fontSize: 12,
268
+ fontFamily: 'Inter, sans-serif'
269
+ };
182
270
 
183
- ### Theme Customization
184
- ```tsx
185
- <DataTableCore
186
- theme={{
187
- headerBg: '#f9fafb',
188
- borderColor: '#e5e7eb',
189
- rowHoverBg: '#f3f4f6',
190
- // ... more theme options
191
- }}
271
+ <ChartThemeProvider theme={customChartTheme}>
272
+ <YourChartsHere />
273
+ </ChartThemeProvider>
274
+ ```
275
+
276
+ ## 🔧 Performance Features
277
+
278
+ ### Virtualization
279
+ ```jsx
280
+ import { VirtualList, VirtualTable } from '@moontra/moonui-pro';
281
+
282
+ // Handle thousands of items efficiently
283
+ <VirtualList
284
+ items={thousandsOfItems}
285
+ itemHeight={50}
286
+ overscan={5}
287
+ renderItem={({ item, index }) => (
288
+ <div key={item.id}>Row {index}: {item.name}</div>
289
+ )}
192
290
  />
193
291
  ```
194
292
 
195
- ### Feature Toggles
196
- ```tsx
197
- <DataTableCore
198
- features={{
199
- sorting: true,
200
- filtering: true,
201
- columnResize: true,
202
- export: ['csv', 'excel', 'pdf'],
203
- // ... more features
204
- }}
293
+ ### Lazy Loading
294
+ ```jsx
295
+ import { InfiniteScroll } from '@moontra/moonui-pro';
296
+
297
+ // Infinite scrolling with lazy loading
298
+ <InfiniteScroll
299
+ loadMore={loadMoreData}
300
+ hasMore={hasMoreData}
301
+ threshold={100}
302
+ loader={<div>Loading...</div>}
303
+ >
304
+ {items.map(item => <ItemComponent key={item.id} item={item} />)}
305
+ </InfiniteScroll>
306
+ ```
307
+
308
+ ### Memory Optimization
309
+ ```jsx
310
+ import { MemoryOptimizedTable } from '@moontra/moonui-pro';
311
+
312
+ // Automatically manages memory for large datasets
313
+ <MemoryOptimizedTable
314
+ data={massiveDataset}
315
+ columns={columns}
316
+ maxMemoryItems={1000}
317
+ recycleNodes={true}
205
318
  />
206
319
  ```
207
320
 
208
- ### Custom Rendering
209
- ```tsx
210
- <DataTableCore
211
- customRender={{
212
- cell: (value, row) => <CustomCell value={value} />,
213
- header: (column) => <CustomHeader column={column} />,
214
- // ... more custom renders
215
- }}
321
+ ## 📱 Mobile & Touch Support
322
+
323
+ ### Gesture Components
324
+ ```jsx
325
+ import { SwipeableCard, GestureDrawer, TouchableArea } from '@moontra/moonui-pro';
326
+
327
+ // Swipeable cards with gesture support
328
+ <SwipeableCard
329
+ onSwipeLeft={handleSwipeLeft}
330
+ onSwipeRight={handleSwipeRight}
331
+ threshold={50}
332
+ velocityThreshold={0.3}
333
+ >
334
+ <CardContent />
335
+ </SwipeableCard>
336
+ ```
337
+
338
+ ### Responsive Data Tables
339
+ ```jsx
340
+ import { ResponsiveDataTable } from '@moontra/moonui-pro';
341
+
342
+ // Automatically adapts to mobile
343
+ <ResponsiveDataTable
344
+ data={data}
345
+ columns={columns}
346
+ mobileBreakpoint={768}
347
+ mobileLayout="cards" // or "stack"
348
+ hideColumnsOnMobile={['id', 'created_at']}
216
349
  />
217
350
  ```
218
351
 
219
- ## TypeScript Support
352
+ ## 🔐 License & Security
220
353
 
221
- All components are written in TypeScript with complete type definitions:
354
+ ### License Validation
355
+ ```jsx
356
+ import { LicenseProvider } from '@moontra/moonui-pro';
222
357
 
223
- ```tsx
224
- import type {
225
- DataTableProps,
226
- CalendarEvent,
227
- KanbanCard,
228
- FileUploadFile
229
- } from '@moontra/moonui-pro'
358
+ // Wrap your app with license provider
359
+ <LicenseProvider licenseKey={process.env.MOONUI_PRO_LICENSE}>
360
+ <App />
361
+ </LicenseProvider>
230
362
  ```
231
363
 
232
- ## License Validation
364
+ ### Security Features
365
+ - **License verification** - Validates license keys
366
+ - **Component obfuscation** - Protects source code
367
+ - **Usage analytics** - Optional usage tracking
368
+ - **Domain restrictions** - License key domain binding
233
369
 
234
- Pro components require a valid license. The package validates your license at build time:
370
+ ## 📦 Package Details
235
371
 
236
- 1. **Environment Variable**: Set `MOONUI_LICENSE_KEY` in your environment
237
- 2. **Build-time Validation**: License is checked during build, not runtime
238
- 3. **No Runtime Checks**: Components work without internet after build
372
+ - **Bundle Size**: ~2.86MB (IIFE), ~2.96MB (ESM)
373
+ - **CDN Bundle**: Available on JSDelivr and unpkg
374
+ - **Dependencies**: React 18+, Framer Motion, TanStack Table
375
+ - **TypeScript**: Full type definitions included
376
+ - **Tree Shaking**: Import individual components
239
377
 
240
- ## Requirements
378
+ ## 🛠️ Development
241
379
 
242
- - React 18.0.0 or higher
243
- - @moontra/moonui 1.0.0 or higher
380
+ ### Requirements
381
+ - Node.js 18+
382
+ - React 18+
383
+ - TypeScript 5+
244
384
  - Valid MoonUI Pro license
245
385
 
246
- ## Support
386
+ ### Local Development
387
+ ```bash
388
+ git clone https://github.com/moontra/moonui-pro
389
+ cd moonui-pro/packages/moonui-pro
390
+ npm install
391
+ npm run dev
392
+ ```
393
+
394
+ ### Building
395
+ ```bash
396
+ npm run build # Build for production
397
+ npm run build:dts # Generate type definitions
398
+ npm run test # Run tests
399
+ npm run lint # Lint code
400
+ ```
401
+
402
+ ## 🎯 Use Cases
403
+
404
+ ### Dashboard Applications
405
+ - **Analytics dashboards** with interactive charts
406
+ - **Admin panels** with data tables and forms
407
+ - **KPI monitoring** with real-time updates
408
+ - **Report builders** with drag-and-drop interfaces
409
+
410
+ ### Content Management
411
+ - **Blog editors** with rich text formatting
412
+ - **Documentation sites** with markdown support
413
+ - **Media libraries** with advanced file management
414
+ - **Publishing platforms** with workflow management
415
+
416
+ ### E-commerce & Business
417
+ - **Product catalogs** with advanced filtering
418
+ - **Order management** with status tracking
419
+ - **Customer portals** with account management
420
+ - **Inventory systems** with bulk operations
421
+
422
+ ### Developer Tools
423
+ - **Code editors** with syntax highlighting
424
+ - **API explorers** with interactive testing
425
+ - **Configuration UIs** with form wizards
426
+ - **Monitoring dashboards** with real-time metrics
427
+
428
+ ## 📚 Documentation
429
+
430
+ - **🌐 Website**: [moonui.dev](https://moonui.dev)
431
+ - **📖 Pro Docs**: [moonui.dev/docs/pro](https://moonui.dev/docs/pro)
432
+ - **🎯 Examples**: [moonui.dev/examples](https://moonui.dev/examples)
433
+ - **🔑 Licensing**: [moonui.dev/pricing](https://moonui.dev/pricing)
434
+
435
+ ## 🤖 AI Integration
436
+
437
+ MoonUI Pro is fully integrated with our MCP Server:
438
+
439
+ ```bash
440
+ # The MCP Server automatically detects Pro components
441
+ npm install -g @moontra/moonui-mcp-server
442
+
443
+ # AI assistants can help with:
444
+ # - Pro component recommendations
445
+ # - Advanced usage patterns
446
+ # - Performance optimization
447
+ # - Complex integrations
448
+ ```
449
+
450
+ ## 🚀 Migration from v1.x
451
+
452
+ ### Breaking Changes in v2.24.x
453
+ - **DataTable**: New API with TanStack Table v8
454
+ - **Charts**: Updated to Recharts v2.12
455
+ - **Forms**: Enhanced validation with better TypeScript support
456
+ - **Theming**: New CSS variable system
457
+
458
+ ### Migration Guide
459
+ ```jsx
460
+ // v1.x (old)
461
+ <DataTable
462
+ data={data}
463
+ sorting={true}
464
+ filtering={true}
465
+ />
466
+
467
+ // v2.x (new)
468
+ <DataTable
469
+ data={data}
470
+ columns={columns}
471
+ features={{
472
+ sorting: true,
473
+ filtering: true
474
+ }}
475
+ />
476
+ ```
477
+
478
+ ## 💳 Pricing & Licensing
479
+
480
+ | Plan | Price | Features |
481
+ |------|--------|----------|
482
+ | **Pro Monthly** | $19/month | All Pro components, Updates, Support |
483
+ | **Pro Annual** | $190/year | Save $38, All Pro features |
484
+ | **Pro Lifetime** | $599 | One-time payment, Lifetime updates |
485
+ | **Enterprise** | Custom | Custom components, Priority support |
486
+
487
+ [View all pricing options →](https://moonui.dev/pricing)
488
+
489
+ ## 🔗 Ecosystem
490
+
491
+ - **[@moontra/moonui](https://npmjs.com/package/@moontra/moonui)** - Base component library
492
+ - **[@moontra/moonui-cli](https://npmjs.com/package/@moontra/moonui-cli)** - Command line tools
493
+ - **[@moontra/moonui-mcp-server](https://npmjs.com/package/@moontra/moonui-mcp-server)** - AI integration
494
+ - **[moonui-themes](https://github.com/moontra/moonui-themes)** - Community themes
495
+
496
+ ## 📄 License
497
+
498
+ Licensed under a **Commercial License**. See [LICENSE](LICENSE) for details.
499
+
500
+ ### License Requirements
501
+ - Valid license key required for production use
502
+ - Development usage allowed without license
503
+ - License includes updates and support
504
+ - Single license per domain/application
505
+
506
+ ## 🙏 Acknowledgments
507
+
508
+ Built with:
509
+ - [React](https://reactjs.org/) - UI framework
510
+ - [TanStack Table](https://tanstack.com/table) - Powerful tables
511
+ - [Recharts](https://recharts.org/) - Chart library
512
+ - [Framer Motion](https://framer.com/motion/) - Animations
513
+ - [React DnD](https://react-dnd.github.io/react-dnd/) - Drag and drop
514
+
515
+ ## 📞 Support
516
+
517
+ - **💬 Discord**: [Join our community](https://discord.gg/moonui)
518
+ - **📧 Email**: [support@moonui.dev](mailto:support@moonui.dev)
519
+ - **🐛 Issues**: [GitHub Issues](https://github.com/moontra/moonui-pro/issues)
520
+ - **📖 Documentation**: [moonui.dev/docs](https://moonui.dev/docs)
521
+
522
+ ---
247
523
 
248
- - Documentation: [moonui.dev/docs/pro](https://moonui.dev/docs/pro)
249
- - Priority Support: [support@moonui.dev](mailto:support@moonui.dev)
250
- - Discord: Pro channel access with license
524
+ <div align="center">
251
525
 
252
- ## License
526
+ **[Website](https://moonui.dev) • [Pro Documentation](https://moonui.dev/docs/pro) • [Pricing](https://moonui.dev/pricing) • [Examples](https://moonui.dev/examples)**
253
527
 
254
- Commercial License - see [moonui.dev/license](https://moonui.dev/license) for details.
528
+ Built with ❤️ for developers who demand excellence
255
529
 
256
- © 2024 MoonUI. All rights reserved.
530
+ </div>