admin-lte 4.8.5 → 4.9.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/css/adminlte-colors-v3.css +1 -1
  3. package/dist/css/adminlte-colors-v3.css.map +1 -1
  4. package/dist/css/adminlte-colors-v3.min.css +1 -1
  5. package/dist/css/adminlte-colors-v3.min.css.map +1 -1
  6. package/dist/css/adminlte-colors-v3.rtl.css +1 -1
  7. package/dist/css/adminlte-colors-v3.rtl.css.map +1 -1
  8. package/dist/css/adminlte-colors-v3.rtl.min.css +1 -1
  9. package/dist/css/adminlte-colors-v3.rtl.min.css.map +1 -1
  10. package/dist/css/adminlte-colors.css +1 -1
  11. package/dist/css/adminlte-colors.css.map +1 -1
  12. package/dist/css/adminlte-colors.min.css +1 -1
  13. package/dist/css/adminlte-colors.min.css.map +1 -1
  14. package/dist/css/adminlte-colors.rtl.css +1 -1
  15. package/dist/css/adminlte-colors.rtl.css.map +1 -1
  16. package/dist/css/adminlte-colors.rtl.min.css +1 -1
  17. package/dist/css/adminlte-colors.rtl.min.css.map +1 -1
  18. package/dist/css/adminlte-docs.css +1 -1
  19. package/dist/css/adminlte-docs.css.map +1 -1
  20. package/dist/css/adminlte-docs.min.css +1 -1
  21. package/dist/css/adminlte-docs.min.css.map +1 -1
  22. package/dist/css/adminlte-docs.rtl.css +1 -1
  23. package/dist/css/adminlte-docs.rtl.css.map +1 -1
  24. package/dist/css/adminlte-docs.rtl.min.css +1 -1
  25. package/dist/css/adminlte-docs.rtl.min.css.map +1 -1
  26. package/dist/css/adminlte-select2.css +1 -1
  27. package/dist/css/adminlte-select2.css.map +1 -1
  28. package/dist/css/adminlte-select2.min.css +1 -1
  29. package/dist/css/adminlte-select2.min.css.map +1 -1
  30. package/dist/css/adminlte-select2.rtl.css +1 -1
  31. package/dist/css/adminlte-select2.rtl.css.map +1 -1
  32. package/dist/css/adminlte-select2.rtl.min.css +1 -1
  33. package/dist/css/adminlte-select2.rtl.min.css.map +1 -1
  34. package/dist/css/adminlte.css +37 -27
  35. package/dist/css/adminlte.css.map +1 -1
  36. package/dist/css/adminlte.min.css +2 -2
  37. package/dist/css/adminlte.min.css.map +1 -1
  38. package/dist/css/adminlte.rtl.css +37 -27
  39. package/dist/css/adminlte.rtl.css.map +1 -1
  40. package/dist/css/adminlte.rtl.min.css +2 -2
  41. package/dist/css/adminlte.rtl.min.css.map +1 -1
  42. package/dist/js/adminlte.esm.js +1 -1
  43. package/dist/js/adminlte.esm.min.js +1 -1
  44. package/dist/js/adminlte.js +1 -1
  45. package/dist/js/adminlte.min.js +1 -1
  46. package/package.json +1 -1
  47. package/src/scss/_accessibility.scss +58 -25
  48. package/src/scss/adminlte-colors-v3.scss +1 -1
  49. package/src/scss/adminlte-colors.scss +1 -1
  50. package/src/scss/adminlte-docs.scss +1 -1
  51. package/src/scss/adminlte-select2.scss +1 -1
  52. package/src/scss/adminlte.scss +1 -1
  53. package/src/ts/adminlte.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 (https://adminlte.io)
2
+ * AdminLTE v4.9.0 (https://adminlte.io)
3
3
  * Copyright 2014-2026 Colorlib <https://colorlib.com>
4
4
  * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 (https://adminlte.io)
2
+ * AdminLTE v4.9.0 (https://adminlte.io)
3
3
  * Copyright 2014-2026 Colorlib <https://colorlib.com>
4
4
  * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 (https://adminlte.io)
2
+ * AdminLTE v4.9.0 (https://adminlte.io)
3
3
  * Copyright 2014-2026 Colorlib <https://colorlib.com>
4
4
  * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 (https://adminlte.io)
2
+ * AdminLTE v4.9.0 (https://adminlte.io)
3
3
  * Copyright 2014-2026 Colorlib <https://colorlib.com>
4
4
  * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
5
5
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "admin-lte",
3
3
  "description": "Responsive open source admin dashboard and control panel.",
4
- "version": "4.8.5",
4
+ "version": "4.9.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Colorlib <https://colorlib.com>",
@@ -309,7 +309,7 @@ fieldset {
309
309
  // quote, work order, packing slip) rather than as a copy of a web page: no
310
310
  // URLs after links, no outline around buttons. Goes on <html>, <body> or any
311
311
  // container; text stays black on white either way (#6108).
312
- [data-lte-print="plain"] {
312
+ [data-lte-print~="plain"] {
313
313
  a[href^="http"]::after {
314
314
  content: none;
315
315
  }
@@ -319,50 +319,83 @@ fieldset {
319
319
  }
320
320
  }
321
321
 
322
- /* Print Layout Fix - Ensure sidebar and main content are both visible.
323
- `:not(.d-print-none)` on the two rules that force `display`, so Bootstrap's
324
- print display utilities keep working: these are defaults for the standard
325
- layout, not something a page should have to fight to hide. */
322
+ /* Print Layout — paged media cannot scroll, so every sticky position and
323
+ every scroll container has to be unwound here or the browser clips what
324
+ is inside it: that is what printed the main content blank in 4.0.0
325
+ (#5982). `:not(.d-print-none)` on the rule that forces `display`, so
326
+ Bootstrap's print display utilities keep working (#6106). */
327
+ .app-header,
328
+ .app-sidebar,
329
+ .app-footer {
330
+ position: static !important;
331
+ }
332
+
326
333
  .app-wrapper:not(.d-print-none) {
327
334
  display: grid !important;
328
335
  grid-template-rows: auto 1fr auto !important;
329
336
  grid-template-columns: auto 1fr !important;
330
337
  }
331
338
 
332
- .sidebar-overlay {
333
- display: none !important;
339
+ .app-main {
340
+ width: auto !important;
334
341
  }
335
342
 
336
- .app-sidebar:not(.d-print-none) {
337
- position: static !important;
338
- display: block !important;
339
- min-width: 200px !important;
340
- max-width: 200px !important;
341
- max-height: none !important;
342
- margin-left: 0 !important;
343
+ .app-main,
344
+ .app-content,
345
+ .sidebar-wrapper {
343
346
  overflow: visible !important;
344
347
  }
345
348
 
346
349
  .sidebar-wrapper {
347
350
  height: auto !important;
348
- overflow: visible !important;
349
351
  }
350
352
 
351
- .app-header {
352
- position: static !important;
353
+ .app-sidebar {
354
+ min-width: 200px !important;
355
+ max-width: 200px !important;
356
+ max-height: none !important;
357
+ margin-left: 0 !important;
353
358
  }
354
359
 
355
- .app-main {
356
- width: auto !important;
357
- max-width: 100% !important;
358
- overflow: visible !important;
360
+ // Paper has no viewport to fill. `vh` and `vw` resolve against the page area
361
+ // in print, so `min-height: 100vh` made the wrapper exactly one sheet tall
362
+ // however short the content was: a three-line page still reserved a whole
363
+ // sheet, the footer was pushed to the foot of it, and anything that followed
364
+ // opened a second page. `max-width: 100vw` is the same measurement applied
365
+ // sideways — it caps the layout at the width of one sheet, which says
366
+ // nothing useful once the content is being paginated (#6113).
367
+ .app-wrapper {
368
+ min-height: 0 !important;
359
369
  }
360
370
 
361
- .app-content {
362
- overflow: visible !important;
371
+ .app-wrapper,
372
+ .app-header,
373
+ .app-main,
374
+ .app-footer {
375
+ max-width: none !important;
376
+ }
377
+
378
+ // The shell — top bar, sidebar menu, footer — is navigation and chrome, not
379
+ // content. Printing it spent the first 200px of every sheet on a menu the
380
+ // reader cannot click and added the sidebar's own length to the page count,
381
+ // so an invoice came out squeezed into a narrow column and two pages long
382
+ // (#6113). v3 hid all three; v4 now does the same. Bring one back with
383
+ // Bootstrap's `.d-print-block` / `.d-print-flex`, or the whole shell with
384
+ // `data-lte-print="app"` on <html> or <body>, for a page that really does
385
+ // print as a copy of the screen.
386
+ html:not([data-lte-print~="app"]) body:not([data-lte-print~="app"]) {
387
+ .app-header,
388
+ .app-sidebar,
389
+ .app-footer {
390
+ &:not(.d-print-block):not(.d-print-flex) {
391
+ display: none !important;
392
+ }
393
+ }
363
394
  }
364
395
 
365
- .app-footer {
366
- position: static !important;
396
+ // The backdrop behind the off-canvas sidebar has nothing to print in any
397
+ // mode.
398
+ .sidebar-overlay {
399
+ display: none !important;
367
400
  }
368
401
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 — AdminLTE 3 color palette (legacy)
2
+ * AdminLTE v4.9.0 — AdminLTE 3 color palette (legacy)
3
3
  * Opt-in. The extended colours exactly as AdminLTE 3 shipped them — same
4
4
  * names, same values, same text-colour rule (Bootstrap 4's YIQ brightness
5
5
  * test, so lightblue, olive and teal take white text as they did) — with
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 — Extended color palette
2
+ * AdminLTE v4.9.0 — Extended color palette
3
3
  * Opt-in. Nothing here is in adminlte.css: load this sheet after it and you
4
4
  * get fourteen additional colours (orange, amber, olive, teal, sky, indigo,
5
5
  * violet, fuchsia, pink, navy, steel, slate, graphite, midnight) as `--bs-*`
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 — documentation styles
2
+ * AdminLTE v4.9.0 — documentation styles
3
3
  * Styles for the documentation and FAQ pages only (body.docs-page /
4
4
  * body.faq-page). Applications never need this file; it is loaded by the
5
5
  * docs pages in addition to adminlte.css.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 — Select2 compatibility theme
2
+ * AdminLTE v4.9.0 — Select2 compatibility theme
3
3
  * Styling only. AdminLTE bundles neither Select2 nor jQuery; this optional
4
4
  * sheet makes a Select2 you load yourself match Bootstrap 5.3 form controls,
5
5
  * including `data-bs-theme` dark mode. Load it AFTER select2.css.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5
2
+ * AdminLTE v4.9.0
3
3
  * Author: Colorlib
4
4
  * Website: AdminLTE.io <https://adminlte.io>
5
5
  * License: Open source - MIT <https://opensource.org/licenses/MIT>
@@ -10,7 +10,7 @@ import SidebarSearch from './sidebar-search.js'
10
10
  import { initAccessibility } from './accessibility.js'
11
11
 
12
12
  /**
13
- * AdminLTE v4.8.5
13
+ * AdminLTE v4.9.0
14
14
  * Author: Colorlib
15
15
  * Website: AdminLTE.io <https://adminlte.io>
16
16
  * License: Open source - MIT <https://opensource.org/licenses/MIT>