github ColorlibHQ/AdminLTE v4.10.3

3 hours ago

AdminLTE 4.10.3 fixes the RTL layout on Firefox for Android, stops a card from being removed twice, keeps a vetoed sidebar toggle from being saved, and moves the toolchain to Stylelint 18.

Fixes

  • RTL on Firefox for Android: the RTL pages no longer render wider than the screen (#6161). The screen-reader live region was hidden with left: -10000px, which the RTL build turns into right: -10000px, and Firefox for Android widened the page to fit that box. The live region and the hidden "Navigation" label are now clipped in place with clip-path. They have no off-screen geometry in either direction and still work for screen readers. If you added a workaround such as html[dir="rtl"] .live-region { right: 0 !important; }, you can remove it. Thanks @farhadmahdaviir-alt for the report and the diagnosis.
  • Card removal: clicking a card's remove tool again while the card is still sliding away no longer removes it twice (#6160). The cancelable remove.lte.card-widget event now fires once, so a confirmation prompt or delete request bound to it runs once, and removed.lte.card-widget isn't dispatched again after the card is detached. Thanks @Dev-next-gen.
  • Sidebar persistence: with data-enable-persistence="true", a sidebar toggle that a listener vetoes through the cancelable open.lte.push-menu or collapse.lte.push-menu event no longer saves a state the sidebar never reached. A blocked toggle on a mobile-size screen can no longer overwrite the state the user chose on desktop (#6159). Thanks @Dev-next-gen.

Demo libraries

Chart.js 4.6.2 and OverlayScrollbars 2.17.1 in the demo, plus jQuery 4.1.0 and Select2 4.2.0 in the Select2 integration snippet. adminlte-select2.css matches Select2 4.2.0's class names unchanged. FilePond stays on 4.32.14, because 5.0.0 is a rewrite with a new API and file layout.

Maintenance

  • Stylelint 18. Bootstrap's shared config still pins Stylelint 16-era presets, so its rules are now inlined in stylelint.config.mjs, on top of the current upstream presets. The newer rules reorder a few properties and replace the deprecated grid-gap, word-wrap and clip with gap, overflow-wrap and clip-path. Rendering does not change.
  • All build, lint and test dependencies are on their latest releases, including Astro 7.4.13, typescript-eslint 8.74, Rollup 4.68.8, Vitest 5.1.2, autoprefixer 10.7 and axe-core 4.14.1. npm audit reports 0 vulnerabilities. TypeScript stays on 6.0.3, because typescript-eslint doesn't support TypeScript 7 yet.
  • The browser suite now also fails on any element sitting far outside the viewport. The old check used scrollWidth, which can't see overflow on the right in RTL.
  • Validated with lint, 84 unit tests, gzip budgets, axe (light and dark), and 378 Playwright page/scenario checks across Chromium, Firefox and WebKit.

Install

npm install admin-lte@4.10.3
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@4.10.3/dist/css/adminlte.min.css" />
<script src="https://cdn.jsdelivr.net/npm/admin-lte@4.10.3/dist/js/adminlte.min.js"></script>

Full details in the CHANGELOG.

What's Changed

  • fix(push-menu): don't persist a sidebar state a listener vetoed by @Dev-next-gen in #6159
  • fix(card-widget): don't remove a card twice on a repeated click by @Dev-next-gen in #6160
  • chore(deps): refresh dependencies, move to Stylelint 18, fix RTL live-region overflow by @puikinsh in #6162

New Contributors

Full Changelog: v4.10.2...v4.10.3

Don't miss a new AdminLTE release

NewReleases is sending notifications on new releases.