admin-lte 4.9.1 → 4.10.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 +24 -0
- package/README.md +3 -0
- package/dist/css/adminlte-colors-v3.css +1 -1
- package/dist/css/adminlte-colors-v3.css.map +1 -1
- package/dist/css/adminlte-colors-v3.min.css +1 -1
- package/dist/css/adminlte-colors-v3.min.css.map +1 -1
- package/dist/css/adminlte-colors-v3.rtl.css +1 -1
- package/dist/css/adminlte-colors-v3.rtl.css.map +1 -1
- package/dist/css/adminlte-colors-v3.rtl.min.css +1 -1
- package/dist/css/adminlte-colors-v3.rtl.min.css.map +1 -1
- package/dist/css/adminlte-colors.css +1 -1
- package/dist/css/adminlte-colors.css.map +1 -1
- package/dist/css/adminlte-colors.min.css +1 -1
- package/dist/css/adminlte-colors.min.css.map +1 -1
- package/dist/css/adminlte-colors.rtl.css +1 -1
- package/dist/css/adminlte-colors.rtl.css.map +1 -1
- package/dist/css/adminlte-colors.rtl.min.css +1 -1
- package/dist/css/adminlte-colors.rtl.min.css.map +1 -1
- package/dist/css/adminlte-docs.css +1 -1
- package/dist/css/adminlte-docs.css.map +1 -1
- package/dist/css/adminlte-docs.min.css +1 -1
- package/dist/css/adminlte-docs.min.css.map +1 -1
- package/dist/css/adminlte-docs.rtl.css +1 -1
- package/dist/css/adminlte-docs.rtl.css.map +1 -1
- package/dist/css/adminlte-docs.rtl.min.css +1 -1
- package/dist/css/adminlte-docs.rtl.min.css.map +1 -1
- package/dist/css/adminlte-select2.css +1 -1
- package/dist/css/adminlte-select2.css.map +1 -1
- package/dist/css/adminlte-select2.min.css +1 -1
- package/dist/css/adminlte-select2.min.css.map +1 -1
- package/dist/css/adminlte-select2.rtl.css +1 -1
- package/dist/css/adminlte-select2.rtl.css.map +1 -1
- package/dist/css/adminlte-select2.rtl.min.css +1 -1
- package/dist/css/adminlte-select2.rtl.min.css.map +1 -1
- package/dist/css/adminlte.css +2 -1
- package/dist/css/adminlte.css.map +1 -1
- package/dist/css/adminlte.min.css +2 -2
- package/dist/css/adminlte.min.css.map +1 -1
- package/dist/css/adminlte.rtl.css +2 -1
- package/dist/css/adminlte.rtl.css.map +1 -1
- package/dist/css/adminlte.rtl.min.css +2 -2
- package/dist/css/adminlte.rtl.min.css.map +1 -1
- package/dist/js/adminlte.esm.js +1 -1
- package/dist/js/adminlte.esm.js.map +1 -1
- package/dist/js/adminlte.esm.min.js +1 -1
- package/dist/js/adminlte.js +1 -1
- package/dist/js/adminlte.js.map +1 -1
- package/dist/js/adminlte.min.js +1 -1
- package/package.json +14 -14
- package/src/scss/_app-sidebar.scss +1 -0
- package/src/scss/adminlte-colors-v3.scss +1 -1
- package/src/scss/adminlte-colors.scss +1 -1
- package/src/scss/adminlte-docs.scss +1 -1
- package/src/scss/adminlte-select2.scss +1 -1
- package/src/scss/adminlte.scss +1 -1
- package/src/ts/adminlte.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ All notable changes to AdminLTE will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [4.10.0] - 2026-10-01
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **The demo charts are drawn with Chart.js (MIT) instead of ApexCharts.** From 5.2.0 ApexCharts is published under its own commercial "ApexCharts License" rather than MIT, and a template that thousands of projects copy into their products cannot carry that on to them. Every chart on Dashboard v1, v2 and v3 and on the charts showcase is rebuilt on Chart.js 4.5.1 with the same data, colours and sizes: area and line charts (gradient fills), grouped columns, doughnuts, the radial bar (concentric doughnut rings with the average in the middle), the mixed bar-and-line chart with two value axes, and the dashboard sparklines. Chart.js is loaded from jsDelivr with an SRI hash, only on the pages that draw charts, exactly as ApexCharts was — the `admin-lte` npm package has never depended on a chart library and still does not. Gzipped chart JavaScript per charted page drops from 131.5 kB (ApexCharts 3.37.1 JS + CSS) to 72.8 kB (Chart.js 4.5.1 plus the 2.3 kB inline theme preset below).
|
|
13
|
+
|
|
14
|
+
The showcase page is now `charts/chartjs.html` and the sidebar entry reads "Chart.js". `charts/apexcharts.html` stays as a redirect so existing links keep working.
|
|
15
|
+
|
|
16
|
+
- **One chart theme preset, following the colour mode live.** The charted pages include a short preset (`src/html/components/_chartjs.astro`) that sets `Chart.defaults` from AdminLTE's CSS variables — body font, secondary text for ticks, 8% gridlines with no vertical grid on category axes, rounded bars, a tooltip and legend styled like a card — and restyles every chart on the page when `<html data-bs-theme>` changes (the ColorMode toggle, the OS in auto mode, or your own code) or when the web font finishes loading. Under `<html dir="rtl">` legends and tooltips are laid out right-to-left. The ApexCharts colour-mode helper that every demo page carried in its shared scripts (#6105) is gone with it, so the 85 pages without charts are 1.6 kB lighter too. The [dark-mode charts recipe](https://adminlte.io/themes/v4/docs/recipes.html#charts-that-follow-dark-mode), the Recommended Integrations, Migration and RTL docs are updated to match.
|
|
17
|
+
|
|
18
|
+
One Chart.js detail worth knowing if you adapt the preset: Chart.js copies the scale defaults into each chart's config when the chart is created, so changing `Chart.defaults` and calling `chart.update()` leaves existing axes in the old colours. The preset drops those copied colours before it updates; see the comment in the component.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **The brand logo sat 4px left of centre in the collapsed mini sidebar.** `.brand-text` keeps its base `margin-left: .5rem` while `.sidebar-mini.sidebar-collapse` shrinks it to `max-width: 0`, so 8px of margin on a zero-width element pushed the logo off the rail's centre line. The margin is now cleared in that state — the hover rule that expands the rail already re-declared `margin-left: .5rem`, which is what the collapsed state should have mirrored all along (#6114, by @dfsmania).
|
|
23
|
+
|
|
24
|
+
### Maintenance
|
|
25
|
+
|
|
26
|
+
- **Dev dependencies refreshed** — eslint 10.8.1 -> 10.9.1, eslint-plugin-unicorn 73 -> 74, @typescript-eslint/* and typescript-eslint 8.67.0 -> 8.69.0, astro 7.2.4 -> 7.2.10, @astrojs/mdx 7.0.7 -> 8.0.0, @astrojs/markdown-remark 7.2.4 -> 7.3.0, rollup 4.62.4 -> 4.63.1, terser 5.50.0 -> 5.51.2, happy-dom 20.11.6 -> 20.12.0, sass 1.103.0 -> 1.103.1, globals 17.11.0 -> 17.12.0. Every one of the 114 built files in `dist/` is byte-identical afterwards, so this changes nothing for consumers.
|
|
27
|
+
|
|
28
|
+
`@astrojs/mdx` 8.0.0 is a major but not an Astro 8 requirement — it peers `astro@^7.2.6` — and it flattens the tree rather than growing it: four nested duplicates of `@astrojs/markdown-remark` and `@astrojs/internal-helpers` go away and `@astrojs/markdown-satteri` is hoisted to the top level. `npm ci` from a clean checkout resolves with no peer warnings.
|
|
29
|
+
|
|
30
|
+
- **TypeScript stays on 6.0.3.** 7.0.2 is out and Dependabot proposes it monthly, but two peers still refuse it: `@astrojs/check@0.9.10` (the latest) declares `typescript@^5.0.0 || ^6.0.0`, and `typescript-eslint@8.69.0` declares `>=4.8.4 <6.1.0`. The upgrade fails at `npm ci` with `ERESOLVE`, so it cannot land until both move.
|
|
31
|
+
|
|
8
32
|
## [4.9.1] - 2026-08-26
|
|
9
33
|
|
|
10
34
|
### Fixed
|
package/README.md
CHANGED
|
@@ -292,6 +292,9 @@ AdminLTE is an open source project by [AdminLTE.io](https://adminlte.io) license
|
|
|
292
292
|
[MIT](https://opensource.org/licenses/MIT). AdminLTE.io reserves the right to change
|
|
293
293
|
the license of future releases.
|
|
294
294
|
|
|
295
|
+
The charts on the demo pages are drawn with [Chart.js](https://www.chartjs.org/) (MIT),
|
|
296
|
+
loaded from a CDN on the pages that use it — it is not a dependency of the `admin-lte` package.
|
|
297
|
+
|
|
295
298
|
## Image credits
|
|
296
299
|
|
|
297
300
|
[Pixeden](http://www.pixeden.com/psd-web-elements/flat-responsive-showcase-psd),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* AdminLTE v4.
|
|
3
|
+
* AdminLTE v4.10.0 — AdminLTE 3 color palette (legacy)
|
|
4
4
|
* Opt-in. The extended colours exactly as AdminLTE 3 shipped them — same
|
|
5
5
|
* names, same values, same text-colour rule (Bootstrap 4's YIQ brightness
|
|
6
6
|
* test, so lightblue, olive and teal take white text as they did) — with
|