admin-lte 4.8.5 → 4.9.1

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 +20 -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 +41 -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 +41 -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 +68 -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.1 (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.1 (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.1 (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.1 (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.1",
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,93 @@ 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`'s bottom padding is breathing room above the fold; on paper it
340
+ // is trailing whitespace, and 12px of it is enough to tip a page whose
341
+ // content ends near a sheet boundary onto one more, empty sheet — which is
342
+ // what UI/ribbons.html did. The bottom area's negative margin exists only to
343
+ // cancel that padding, so it goes with it (#6113).
344
+ .app-main {
345
+ width: auto !important;
346
+ padding-bottom: 0 !important;
334
347
  }
335
348
 
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
- overflow: visible !important;
349
+ .app-content-bottom-area {
350
+ margin-bottom: 0 !important;
344
351
  }
345
352
 
353
+ .app-main,
354
+ .app-content,
346
355
  .sidebar-wrapper {
347
- height: auto !important;
348
356
  overflow: visible !important;
349
357
  }
350
358
 
351
- .app-header {
352
- position: static !important;
359
+ .sidebar-wrapper {
360
+ height: auto !important;
353
361
  }
354
362
 
355
- .app-main {
356
- width: auto !important;
357
- max-width: 100% !important;
358
- overflow: visible !important;
363
+ .app-sidebar {
364
+ min-width: 200px !important;
365
+ max-width: 200px !important;
366
+ max-height: none !important;
367
+ margin-left: 0 !important;
359
368
  }
360
369
 
361
- .app-content {
362
- overflow: visible !important;
370
+ // Paper has no viewport to fill. `vh` and `vw` resolve against the page area
371
+ // in print, so `min-height: 100vh` made the wrapper exactly one sheet tall
372
+ // however short the content was: a three-line page still reserved a whole
373
+ // sheet, the footer was pushed to the foot of it, and anything that followed
374
+ // opened a second page. `max-width: 100vw` is the same measurement applied
375
+ // sideways — it caps the layout at the width of one sheet, which says
376
+ // nothing useful once the content is being paginated (#6113).
377
+ .app-wrapper {
378
+ min-height: 0 !important;
363
379
  }
364
380
 
381
+ .app-wrapper,
382
+ .app-header,
383
+ .app-main,
365
384
  .app-footer {
366
- position: static !important;
385
+ max-width: none !important;
386
+ }
387
+
388
+ // The shell — top bar, sidebar menu, footer — is navigation and chrome, not
389
+ // content. Printing it spent the first 200px of every sheet on a menu the
390
+ // reader cannot click and added the sidebar's own length to the page count,
391
+ // so an invoice came out squeezed into a narrow column and two pages long
392
+ // (#6113). v3 hid all three; v4 now does the same. Bring one back with
393
+ // Bootstrap's `.d-print-block` / `.d-print-flex`, or the whole shell with
394
+ // `data-lte-print="app"` on <html> or <body>, for a page that really does
395
+ // print as a copy of the screen.
396
+ html:not([data-lte-print~="app"]) body:not([data-lte-print~="app"]) {
397
+ .app-header,
398
+ .app-sidebar,
399
+ .app-footer {
400
+ &:not(.d-print-block):not(.d-print-flex) {
401
+ display: none !important;
402
+ }
403
+ }
404
+ }
405
+
406
+ // The backdrop behind the off-canvas sidebar has nothing to print in any
407
+ // mode.
408
+ .sidebar-overlay {
409
+ display: none !important;
367
410
  }
368
411
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.8.5 — AdminLTE 3 color palette (legacy)
2
+ * AdminLTE v4.9.1 — 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.1 — 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.1 — 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.1 — 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.1
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.1
14
14
  * Author: Colorlib
15
15
  * Website: AdminLTE.io <https://adminlte.io>
16
16
  * License: Open source - MIT <https://opensource.org/licenses/MIT>