adminator-admin-dashboard 2.7.0 → 2.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/CHANGELOG.md ADDED
@@ -0,0 +1,453 @@
1
+ # Changelog
2
+
3
+ ## [2.8.0] - 2025-08-11
4
+
5
+ ### Dependency Modernization & Security Updates
6
+
7
+ This release focuses on modernizing the build system, updating dependencies to their latest stable versions, and removing deprecated packages to ensure better security and performance.
8
+
9
+ ### Key Improvements
10
+
11
+ #### Build System Enhancements
12
+ - **Replaced deprecated file-loader with Webpack 5 native asset modules** - Modernized asset handling using Webpack 5's built-in capabilities
13
+ - **Moved @babel/runtime to production dependencies** - Properly configured runtime dependencies for production builds
14
+ - **Fixed all import/export warnings** - Resolved module resolution issues for cleaner builds
15
+
16
+ #### Major Dependency Updates
17
+ - **Upgraded cross-env from v7 to v10** - Latest version with ESM support and TypeScript improvements
18
+ - **Updated all Babel packages to v7.28.0** - Latest stable Babel 7 release
19
+ - **Updated TypeScript to v5.9.2** - Latest TypeScript with improved type checking
20
+ - **Updated Webpack to v5.101.0** - Latest Webpack 5 with performance improvements
21
+ - **Updated ESLint to v9.33.0** - Latest ESLint with new rules and fixes
22
+
23
+ #### Security & Maintenance
24
+ - Updated all FullCalendar components to v6.1.19
25
+ - Updated all development dependencies to latest stable versions
26
+ - Removed non-existent test.html reference from build configuration
27
+ - Fixed stylelint configuration compatibility issues
28
+
29
+ ### Technical Details
30
+
31
+ **Removed Deprecated Packages:**
32
+ - `file-loader` - Replaced with Webpack 5 asset/resource modules
33
+
34
+ **Updated Dependencies:**
35
+ - @babel/core: 7.27.4 → 7.28.0
36
+ - @babel/runtime: 7.27.6 → 7.28.2 (moved to production dependencies)
37
+ - @eslint/js: 9.29.0 → 9.33.0
38
+ - @typescript-eslint/eslint-plugin: 8.36.0 → 8.39.0
39
+ - @typescript-eslint/parser: 8.36.0 → 8.39.0
40
+ - @fullcalendar/*: 6.1.17 → 6.1.19 (all packages)
41
+ - cross-env: 7.0.3 → 10.0.0
42
+ - eslint: 9.29.0 → 9.33.0
43
+ - typescript: 5.8.3 → 5.9.2
44
+ - webpack: 5.99.9 → 5.101.0
45
+ - And various other minor updates
46
+
47
+ ### Build Status
48
+ - Zero build errors
49
+ - Zero build warnings
50
+ - All linting rules pass successfully
51
+ - Production build size remains optimized
52
+
53
+ ## [2.7.1] - 2025-07-10
54
+
55
+ ### Bug Fixes & Improvements
56
+ - Minor version bump with maintenance updates
57
+ - Enhanced code quality and stability improvements
58
+ - Updated documentation and changelog formatting
59
+
60
+ ## [2.7.0] - 2025-07-09
61
+
62
+ ### jQuery-Free Release + NPM Package Publication
63
+
64
+ This release represents a **major performance milestone** - complete removal of jQuery dependency and all jQuery-based plugins, resulting in a modern, lightweight, and significantly faster admin template.
65
+
66
+ ### NPM Package Available
67
+
68
+ **Adminator is now available as an npm package!**
69
+
70
+ ```bash
71
+ # Install via npm
72
+ npm install adminator-admin-dashboard
73
+
74
+ # Or install via yarn
75
+ yarn add adminator-admin-dashboard
76
+ ```
77
+
78
+ **Package Information:**
79
+ - **Package Name**: `adminator-admin-dashboard`
80
+ - **Registry**: https://www.npmjs.com/package/adminator-admin-dashboard
81
+ - **Size**: 5.7 MB (includes complete source + built assets)
82
+ - **Contents**: Source code, production builds, documentation, and all dependencies
83
+
84
+ **What's included:**
85
+ - Complete source code (`src/` directory)
86
+ - Pre-built production assets (`dist/` directory)
87
+ - All dependencies and development tools
88
+ - Comprehensive documentation (CLAUDE.md, CHANGELOG.md)
89
+ - Ready-to-use HTML templates
90
+
91
+ **Usage:**
92
+ ```bash
93
+ # After installation, navigate to package directory
94
+ cd node_modules/adminator-admin-dashboard
95
+
96
+ # Install dev dependencies for customization
97
+ npm install
98
+
99
+ # Start development server
100
+ npm start
101
+ ```
102
+
103
+ This release represents a **major performance milestone** - complete removal of jQuery dependency and all jQuery-based plugins, resulting in a modern, lightweight, and significantly faster admin template.
104
+
105
+ ### Performance Improvements
106
+
107
+ **Bundle Size Reduction:**
108
+ - **~600KB Reduction**: Complete elimination of jQuery and jQuery-dependent plugins
109
+ - **Faster Load Times**: Native DOM manipulation for optimal performance
110
+ - **Modern Architecture**: ES6+ class-based components with zero legacy overhead
111
+
112
+ **Removed jQuery Dependencies:**
113
+ - `jquery` (3.7.1) - Replaced with vanilla JS DOM manipulation
114
+ - `jquery-sparkline` (2.4.0) - Replaced with Chart.js mini charts
115
+ - `bootstrap-datepicker` (1.10.0) - Replaced with HTML5 date inputs + vanilla JS
116
+ - `datatables` (1.10.18) - Replaced with vanilla JS table component
117
+ - `easy-pie-chart` (2.1.7) - Replaced with vanilla JS SVG pie charts
118
+ - `jvectormap` (2.0.4) - Replaced with vanilla JS SVG world map
119
+
120
+ ### Modern JavaScript Implementations
121
+
122
+ **100% Vanilla JavaScript Architecture:**
123
+ - **Component System**: Modern class-based components (Sidebar, Charts, etc.)
124
+ - **DOM Utilities**: jQuery-like functionality using native JavaScript (`src/assets/scripts/utils/dom.js`)
125
+ - **Event Management**: Native event handling with modern delegation patterns
126
+ - **Mobile Optimization**: Touch-friendly interactions without jQuery overhead
127
+
128
+ **Feature-Complete Replacements:**
129
+
130
+ **Charts & Visualizations:**
131
+ - **Chart.js Sparklines**: Mini charts with full theme support and better performance
132
+ - **SVG Pie Charts**: Custom circular progress indicators with animations
133
+ - **Enhanced Line Charts**: Interactive charts with tooltip support and responsive design
134
+
135
+ **Interactive Components:**
136
+ - **Vanilla DataTables**: Full-featured table with sorting, pagination, and search
137
+ - **HTML5 Date Pickers**: Enhanced native date inputs with Day.js integration
138
+ - **Vector Maps**: JavaScript-based world map with markers and theme support
139
+ - **Sidebar Navigation**: Smooth animations and touch-friendly mobile interactions
140
+
141
+ **UI Enhancements:**
142
+ - **Mobile Search**: Full-width search overlay with enhanced touch experience
143
+ - **Dropdown Management**: Improved mobile dropdown behavior with overlay handling
144
+ - **Responsive Design**: Better mobile viewport handling and gesture support
145
+
146
+ ### Technical Achievements
147
+
148
+ **Architecture Modernization:**
149
+ - **ES6+ Classes**: Modern component architecture replacing jQuery plugins
150
+ - **Module System**: ES6 import/export for better code organization
151
+ - **Type Safety**: Enhanced error handling and parameter validation
152
+ - **Performance**: Eliminated jQuery overhead and improved runtime efficiency
153
+
154
+ **Theme Integration:**
155
+ - **Dark Mode Support**: All new components fully support light/dark theme switching
156
+ - **CSS Variables**: Component styling integrated with existing theme system
157
+ - **Consistent Design**: Maintained visual consistency while improving performance
158
+
159
+ **Developer Experience:**
160
+ - **Clean Console**: Removed all development console notices and debugging output
161
+ - **ESLint Compliance**: All code follows modern ESLint 9.x flat config standards
162
+ - **Maintainable Code**: Well-documented, modular architecture for future enhancements
163
+
164
+ ### Zero Breaking Changes
165
+
166
+ **Seamless Migration:**
167
+ - **Visual Consistency**: All components maintain identical visual appearance
168
+ - **API Compatibility**: Existing functionality preserved with better performance
169
+ - **Theme Support**: Full compatibility with existing dark/light mode system
170
+ - **Mobile Experience**: Enhanced mobile interactions with no breaking changes
171
+
172
+ ### Component Improvements
173
+
174
+ **Enhanced Functionality:**
175
+ - **Charts**: Better responsiveness and theme integration
176
+ - **Tables**: Improved sorting and pagination performance
177
+ - **Date Pickers**: Enhanced mobile experience with native HTML5 inputs
178
+ - **Maps**: Better rendering performance and theme consistency
179
+ - **Navigation**: Smoother animations and better touch handling
180
+
181
+ ### Code Quality
182
+
183
+ **Production Ready:**
184
+ - **Clean Output**: No console debugging statements in production code
185
+ - **Linting**: All JavaScript files pass ESLint 9.x with modern standards
186
+ - **Performance**: Optimized for speed with minimal DOM manipulation
187
+ - **Accessibility**: Maintained accessibility features without jQuery dependencies
188
+
189
+ ### Files Modified
190
+
191
+ **Core Application:**
192
+ - `src/assets/scripts/app.js` - Complete jQuery removal and modern component integration
193
+ - `src/assets/scripts/components/Sidebar.js` - Vanilla JS sidebar with animations
194
+ - `src/assets/scripts/components/Chart.js` - Chart.js implementation replacing jQuery Sparkline
195
+ - `src/assets/scripts/utils/dom.js` - jQuery-like utilities using vanilla JavaScript
196
+
197
+ **New Implementations:**
198
+ - Enhanced mobile search functionality
199
+ - Vanilla JavaScript data table component
200
+ - HTML5 date picker enhancements
201
+ - SVG-based vector maps
202
+ - Modern dropdown and popover handling
203
+
204
+ ### Migration Notes
205
+
206
+ **Automatic Migration:**
207
+ - No code changes required for existing projects
208
+ - All functionality automatically upgraded to vanilla JavaScript
209
+ - Theme system remains fully compatible
210
+ - Mobile experience enhanced without breaking changes
211
+
212
+ **Performance Benefits:**
213
+ - Immediate ~600KB bundle size reduction
214
+ - Faster initial page load
215
+ - Improved runtime performance
216
+ - Better mobile experience
217
+
218
+ ## [2.6.1] - 2025-07-26
219
+
220
+ ### Dependency Updates
221
+ - Updated `bootstrap` 5.3.6 → 5.3.7
222
+ - Updated `postcss` 8.5.5 → 8.5.6
223
+ - Updated `stylelint` 16.20.0 → 16.21.0
224
+
225
+ ## [2.6.0] - 2025-06-21
226
+
227
+ ### Dark Mode Release
228
+
229
+ This release introduces a comprehensive dark mode system with seamless theme switching and component integration.
230
+
231
+ ### New Features
232
+
233
+ **Complete Dark Mode System:**
234
+ - **Smart Theme Toggle**: Bootstrap-based switch with sun/moon icons and "Light/Dark" labels
235
+ - **OS Preference Detection**: Automatically detects and applies user's preferred color scheme
236
+ - **Persistent Theme Storage**: Remembers user's theme choice across sessions
237
+ - **Instant Theme Switching**: Real-time theme updates without page reload
238
+
239
+ **Theme-Aware Components:**
240
+ - **Chart.js Integration**: Dynamic color schemes for all chart types with proper contrast
241
+ - **FullCalendar Support**: Dark-mode aware calendar with proper border and text colors
242
+ - **Vector Maps**: Custom color palettes for both light and dark themes
243
+ - **Google Maps**: Theme-specific styling for landscapes, highways, and POI markers
244
+ - **Sparkline Charts**: Optimized color sets for dark mode visibility
245
+ - **Skycons Weather Icons**: Adaptive colors for better dark mode contrast
246
+
247
+ **CSS Architecture:**
248
+ - **CSS Custom Properties**: Comprehensive variable system for consistent theming
249
+ - **Semantic Color Naming**: Intuitive color variables (--c-text-base, --c-bkg-card, etc.)
250
+ - **Component Isolation**: Each component respects global theme variables
251
+ - **Responsive Design**: Theme switching works seamlessly across all screen sizes
252
+
253
+ **Visual Enhancements:**
254
+ - **Adaptive Logo**: SVG logo automatically adjusts colors based on theme
255
+ - **Smart Contrast**: Proper text/background contrast ratios in both themes
256
+ - **Border Consistency**: Unified border colors throughout the interface
257
+ - **Loading States**: Theme-aware loaders and progress indicators
258
+
259
+ ### Technical Improvements
260
+
261
+ **Architecture Updates:**
262
+ - **Theme Utility Module**: New `src/assets/scripts/utils/theme.js` with comprehensive theme management
263
+ - **CSS Variables File**: New `src/assets/styles/utils/theme.css` with light/dark color schemes
264
+ - **Component Integration**: Updated all major components to support theme switching
265
+ - **Event System**: Custom events for theme change notifications
266
+
267
+ **Performance Optimizations:**
268
+ - **Efficient Switching**: Minimal DOM manipulation for theme changes
269
+ - **CSS Variable Updates**: Leverages browser-native CSS custom properties
270
+ - **Memory Management**: Proper cleanup of theme-related event listeners
271
+ - **Build Integration**: Theme assets are properly bundled and optimized
272
+
273
+ ### User Experience
274
+
275
+ **Intuitive Controls:**
276
+ - **Accessible Toggle**: Proper ARIA labels and keyboard navigation support
277
+ - **Visual Feedback**: Clear indication of current theme state
278
+ - **Smooth Transitions**: CSS transitions for theme switching (where appropriate)
279
+ - **Consistent Placement**: Theme toggle integrated into header navigation
280
+
281
+ **Smart Behavior:**
282
+ - **First-Time Detection**: Respects OS dark mode preference on first visit
283
+ - **Cross-Session Persistence**: Theme choice remembered across browser sessions
284
+ - **Fallback Handling**: Graceful degradation when localStorage is unavailable
285
+ - **Dynamic Updates**: All components update immediately when theme changes
286
+
287
+ ### Development Experience
288
+
289
+ **Documentation:**
290
+ - **Theme API**: Comprehensive methods for theme management
291
+ - **Color Guidelines**: Standardized color usage across components
292
+ - **Component Examples**: Updated examples showing theme-aware components
293
+ - **Migration Guide**: Instructions for theme integration in custom components
294
+
295
+ ### Enhanced Components
296
+
297
+ **Charts & Data Visualization:**
298
+ - Chart.js with dynamic color schemes
299
+ - Sparkline charts with theme-optimized colors
300
+ - Easy Pie Charts with adaptive styling
301
+ - Vector maps with custom dark mode palettes
302
+
303
+ **Interactive Elements:**
304
+ - FullCalendar with proper dark mode borders
305
+ - DataTables with theme-consistent styling
306
+ - Date pickers with adaptive colors
307
+ - Form elements with dark mode support
308
+
309
+ **Maps & Location:**
310
+ - Google Maps with custom dark mode styling
311
+ - Vector maps with region-specific color schemes
312
+ - Marker and overlay theme integration
313
+
314
+ ### Breaking Changes
315
+
316
+ None. This release is fully backward compatible.
317
+
318
+ ### Migration Guide
319
+
320
+ Existing projects will automatically inherit dark mode capabilities. No code changes required.
321
+
322
+ **Optional Enhancements:**
323
+ - Add `data-theme` attribute handling for custom components
324
+ - Use CSS variables from `theme.css` for consistent coloring
325
+ - Listen for `adminator:themeChanged` events for custom theme handling
326
+
327
+ ### Files Added/Modified
328
+
329
+ **New Files:**
330
+ - `src/assets/scripts/utils/theme.js` - Theme management utility
331
+ - `src/assets/styles/utils/theme.css` - CSS variables and color schemes
332
+
333
+ **Enhanced Files:**
334
+ - All HTML pages updated with theme-aware components
335
+ - Component JavaScript files updated for theme integration
336
+ - SCSS files enhanced with CSS variable usage
337
+ - Logo SVG updated for theme compatibility
338
+
339
+ ## [2.5.0] - 2025-06-16
340
+
341
+ ### Major Modernization Release
342
+
343
+ This release represents a comprehensive modernization of the entire build toolchain and development stack.
344
+
345
+ ### Dependency Updates
346
+
347
+ **Phase 1 - Safe Updates:**
348
+ - Updated `chart.js` 4.4.2 → 4.5.0
349
+ - Updated `shx` 0.3.3 → 0.4.0
350
+ - Added `eslint-formatter-table` for better linting output
351
+
352
+ **Phase 2 - Moderate Updates:**
353
+ - Updated `sass-loader` 14.2.1 → 16.0.5
354
+ - Updated `postcss-preset-env` 9.6.0 → 10.2.3
355
+ - Updated `stylelint-config-standard` 36.0.1 → 38.0.0
356
+ - Fixed `stylelint` command syntax for latest version
357
+
358
+ **Phase 3 - Major Breaking Changes:**
359
+ - Updated `copy-webpack-plugin` 12.0.2 → 13.0.0
360
+ - Updated `babel-loader` 9.2.1 → 10.0.0
361
+ - Updated `webpack-cli` 5.1.4 → 6.0.1
362
+ - Updated `eslint` 8.57.1 → 9.29.0
363
+
364
+ **Latest Dependencies Update:**
365
+ - Updated all Babel packages to v7.27.x
366
+ - Updated FullCalendar packages to v6.1.17
367
+ - Updated Bootstrap to v5.3.6
368
+ - Updated webpack ecosystem (webpack 5.99.9, webpack-dev-server 5.2.2)
369
+ - Updated PostCSS to v8.5.5
370
+ - Updated Sass to v1.89.2
371
+ - Updated Stylelint to v16.20.0
372
+ - Plus 22 total dependency updates
373
+
374
+ ### Configuration Changes
375
+
376
+ **ESLint 9.x Migration:**
377
+ - Migrated from `.eslintrc.json` to `eslint.config.mjs` (flat config)
378
+ - Removed incompatible `eslint-config-airbnb-base` and `eslint-plugin-import`
379
+ - Created modern ESLint configuration with equivalent rules
380
+ - Updated line endings for cross-platform compatibility
381
+
382
+ **Build System Improvements:**
383
+ - Enhanced webpack configuration compatibility
384
+ - Improved CSS processing pipeline
385
+ - Better development server performance
386
+
387
+ **Package Management:**
388
+ - Fixed `package.json` to reflect exact installed dependency versions
389
+ - Removed incompatible ESLint packages from dependencies
390
+ - Ensured version alignment between installed and declared packages
391
+
392
+ **Phase 5.1 - Date Library Migration:**
393
+ - **REMOVED** `moment` 2.30.1 (67KB) - unused legacy dependency
394
+ - **ADDED** `dayjs` 1.11.13 (2KB) - modern 97% smaller alternative
395
+ - Created comprehensive `DateUtils` module with modern date handling
396
+ - Updated FullCalendar to use Day.js for dynamic date generation
397
+ - Enhanced date picker functionality with Day.js validation
398
+ - Bundle size reduction: ~65KB saved
399
+ - Zero breaking changes - Day.js provides same API coverage
400
+
401
+ ### Development Experience
402
+
403
+ - **Node.js Support**: Now requires Node.js 18.12.0+ (compatible with v23.11.0)
404
+ - **Modern tooling**: All dependencies updated to latest stable versions
405
+ - **Zero security vulnerabilities**: Complete security audit clean
406
+ - **Improved performance**: Faster builds and development server
407
+ - **Better linting**: Modern ESLint 9.x with flat config
408
+ - **Enhanced CSS**: Latest PostCSS and Sass versions
409
+
410
+ ### Security & Quality
411
+
412
+ - All dependencies audited and updated to latest secure versions
413
+ - Zero known security vulnerabilities
414
+ - Modern linting rules for better code quality
415
+ - Updated copyright notices to 2025
416
+
417
+ ### Documentation
418
+
419
+ - Updated README with modern setup instructions
420
+ - Enhanced development workflow documentation
421
+ - Added comprehensive changelog entries
422
+
423
+ ### Breaking Changes
424
+
425
+ - **Node.js**: Minimum version now 18.12.0
426
+ - **ESLint**: Configuration format changed from eslintrc to flat config
427
+ - **Development**: Some webpack-cli commands removed (init, loader, plugin)
428
+
429
+ ### Migration Guide
430
+
431
+ For projects upgrading from v2.1.0:
432
+ 1. Ensure Node.js version is 18.12.0 or higher
433
+ 2. Run `npm install` to get updated dependencies
434
+ 3. ESLint configuration is automatically updated
435
+ 4. No code changes required for existing projects
436
+
437
+ ## [2.1.0]
438
+ - Upgraded all dependencies
439
+
440
+ ## [2.0.0]
441
+
442
+ ### Changed
443
+ - Upgrade to Bootstrap 5
444
+
445
+ ## [1.1.0]
446
+
447
+ ### Changed
448
+ - Upgrade to webpack 5
449
+
450
+ ## [1.0.0]
451
+
452
+ ### Added
453
+ - Intial release