admin-lte 4.0.0-beta3 → 4.0.0-rc2

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.
Files changed (74) hide show
  1. package/.browserslistrc +9 -4
  2. package/ACCESSIBILITY-COMPLIANCE.md +369 -0
  3. package/CHANGELOG.md +314 -0
  4. package/README.md +43 -7
  5. package/dist/css/adminlte.css +1412 -1264
  6. package/dist/css/adminlte.css.map +1 -1
  7. package/dist/css/adminlte.min.css +1 -1
  8. package/dist/css/adminlte.min.css.map +1 -1
  9. package/dist/css/adminlte.rtl.css +1430 -1256
  10. package/dist/css/adminlte.rtl.css.map +1 -1
  11. package/dist/css/adminlte.rtl.min.css +1 -1
  12. package/dist/css/adminlte.rtl.min.css.map +1 -1
  13. package/dist/js/adminlte.js +786 -345
  14. package/dist/js/adminlte.js.map +1 -1
  15. package/dist/js/adminlte.min.js +3 -3
  16. package/dist/js/adminlte.min.js.map +1 -1
  17. package/dist/pages/UI/general.html +41 -9
  18. package/dist/pages/UI/icons.html +38 -6
  19. package/dist/pages/UI/timeline.html +38 -6
  20. package/dist/pages/docs/browser-support.html +39 -25
  21. package/dist/pages/docs/color-mode.html +44 -31
  22. package/dist/pages/docs/components/main-header.html +39 -25
  23. package/dist/pages/docs/components/main-sidebar.html +40 -27
  24. package/dist/pages/docs/faq.html +38 -23
  25. package/dist/pages/docs/how-to-contribute.html +39 -25
  26. package/dist/pages/docs/introduction.html +44 -35
  27. package/dist/pages/docs/javascript/treeview.html +39 -25
  28. package/dist/pages/docs/layout.html +38 -6
  29. package/dist/pages/docs/license.html +38 -23
  30. package/dist/pages/examples/lockscreen.html +17 -5
  31. package/dist/pages/examples/login-v2.html +16 -4
  32. package/dist/pages/examples/login.html +16 -4
  33. package/dist/pages/examples/register-v2.html +16 -4
  34. package/dist/pages/examples/register.html +16 -4
  35. package/dist/pages/forms/general.html +38 -6
  36. package/dist/pages/generate/theme.html +155 -5
  37. package/dist/pages/index.html +42 -27
  38. package/dist/pages/index2.html +39 -7
  39. package/dist/pages/index3.html +38 -6
  40. package/dist/pages/layout/collapsed-sidebar.html +38 -6
  41. package/dist/pages/layout/fixed-complete.html +862 -0
  42. package/dist/pages/layout/fixed-footer.html +861 -0
  43. package/dist/pages/layout/fixed-header.html +861 -0
  44. package/dist/pages/layout/fixed-sidebar.html +38 -6
  45. package/dist/pages/layout/layout-custom-area.html +38 -6
  46. package/dist/pages/layout/layout-rtl.html +38 -6
  47. package/dist/pages/layout/logo-switch.html +17 -5
  48. package/dist/pages/layout/sidebar-mini.html +38 -6
  49. package/dist/pages/layout/unfixed-sidebar.html +38 -6
  50. package/dist/pages/tables/simple.html +38 -6
  51. package/dist/pages/widgets/cards.html +38 -6
  52. package/dist/pages/widgets/info-box.html +38 -6
  53. package/dist/pages/widgets/small-box.html +38 -6
  54. package/eslint.config.js +81 -0
  55. package/package.json +34 -31
  56. package/src/scss/_accessibility.scss +292 -0
  57. package/src/scss/_app-footer.scss +8 -0
  58. package/src/scss/_app-header.scss +8 -0
  59. package/src/scss/_table.scss +1 -9
  60. package/src/scss/_variables.scss +2 -1
  61. package/src/scss/adminlte.scss +3 -0
  62. package/src/ts/accessibility.ts +533 -0
  63. package/src/ts/adminlte.ts +48 -9
  64. package/src/ts/card-widget.ts +1 -2
  65. package/src/ts/push-menu.ts +1 -2
  66. package/src/ts/util/index.ts +39 -7
  67. package/.astro/content-assets.mjs +0 -1
  68. package/.astro/content-modules.mjs +0 -1
  69. package/.astro/content.d.ts +0 -166
  70. package/.astro/data-store.json +0 -1
  71. package/.astro/settings.json +0 -5
  72. package/.astro/types.d.ts +0 -2
  73. package/adminlte-v4.0.0-beta1-with-dist.zip +0 -0
  74. package/adminlte-v4.0.0-beta3.zip +0 -0
package/README.md CHANGED
@@ -9,6 +9,19 @@
9
9
  **AdminLTE** is a fully responsive administration template. Based on **[Bootstrap 5](https://getbootstrap.com/)** framework and also the JavaScript plugins.
10
10
  Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops.
11
11
 
12
+ ## What's New in v4.0.0-rc1
13
+
14
+ **Major Modernization Release** - AdminLTE has been completely modernized with:
15
+
16
+ - **Zero Security Vulnerabilities** - All dependencies updated and vulnerabilities resolved
17
+ - **Modern Tooling** - ESLint v9, Astro 5.x, latest Stylelint and build tools
18
+ - **Better Developer Experience** - New `npm start` command, improved scripts, cleaner builds
19
+ - **Latest Dependencies** - Bootstrap 5.3.7, Node.js ES modules, 50+ package updates
20
+ - **Code Quality** - Zero linting errors, removed technical debt, standardized formatting
21
+ - **Future-Ready** - Modern configuration patterns, optimal bundle sizes, enhanced maintainability
22
+
23
+ See the [CHANGELOG.md](CHANGELOG.md) for complete details.
24
+
12
25
  ## Looking for Premium Templates?
13
26
 
14
27
  AdminLTE.io just opened a new premium templates page. Hand picked to ensure the best quality and the most affordable
@@ -21,14 +34,37 @@ SCSS has been used to increase code customizability.
21
34
 
22
35
  ## Quick start
23
36
 
24
- ### Compile dist files
37
+ ### Development
38
+
39
+ To start developing with AdminLTE:
40
+
41
+ 1. **Install dependencies:** `npm install`
42
+ 2. **Start development server:** `npm start` *(opens browser at http://localhost:3000)*
43
+ 3. **Start coding!** Files auto-compile and refresh on changes
44
+
45
+ ### Production Build
46
+
47
+ To build for production:
48
+
49
+ 1. **Full production build:** `npm run production` *(includes linting and optimization)*
50
+ 2. **Quick build:** `npm run build` *(faster for development/testing)*
51
+
52
+ ### Available Scripts
25
53
 
26
- To compile the dist files you need Node.js/npm, clone/download the repo then:
54
+ - `npm start` - Start development server with file watching
55
+ - `npm run build` - Build all assets for development
56
+ - `npm run production` - Full production build with linting and bundlewatch
57
+ - `npm run lint` - Run all linters (JS, CSS, docs, lockfile)
58
+ - `npm run css` - Build CSS only
59
+ - `npm run js` - Build JavaScript only
27
60
 
28
- 1. `npm install` (install npm deps)
29
- 2. _Optional:_ `npm run dev` (developer mode, autocompile with browsersync support for live demo)
30
- 3. `npm run production` (compile css/js files)
61
+ ## Browser Support
31
62
 
63
+ AdminLTE supports all modern browsers with the latest Bootstrap 5.3.7:
64
+ - Chrome (latest)
65
+ - Firefox (latest)
66
+ - Safari (latest)
67
+ - Edge (latest)
32
68
 
33
69
  ## Contributing
34
70
 
@@ -40,8 +76,8 @@ To compile the dist files you need Node.js/npm, clone/download the repo then:
40
76
  - Clone this Repository to your machine and change to `master` branch.
41
77
  - Go to Cloned Folder.
42
78
  - In cli/bash run `npm install` it will install dependency from `package.json`.
43
- - After installation completes, run `npm run dev`
44
- - Cool, Send urs changes in PR to `master` branch.
79
+ - After installation completes, run `npm start`
80
+ - Cool, Send your changes in PR to `master` branch.
45
81
 
46
82
  ## Sponsorship
47
83