You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 07544cb
Browse filesBrowse the repository at this point in the historyBrowse files
Release 0.6.1: fix the RTL demo page and mailbox row overflow
Two defects found by a live audit of adminlte.io/themes/next-react, both
in demo/ — src/ is untouched and dist/ is byte-identical to 0.6.0, hence a
patch rather than 0.7.0.
RtlStyles hardcoded href="/css/adminlte.rtl.css", which resolves against
the domain root, so under the EXPORT=true subpath build the request 404'd
and the page ran dir="rtl" against LTR-compiled AdminLTE CSS: a blank
viewport behind ~10,000px of horizontal overflow (scrollWidth 11440 in a
1440px window). The href now goes through the demo's existing withBase()
helper, so it stays /css/adminlte.rtl.css at the domain root (next dev)
and becomes /themes/next-react/css/adminlte.rtl.css in the export. The
file was always deployed correctly; only the link was wrong.
The mailbox inbox row link is itself a flex item, so its min-width
computed to auto and it would not shrink below its content — the inner
span.text-truncate never truncated and subject text ran past the card
edge (.list-group scrollWidth 1168 vs clientWidth 857). The row link and
its elastic middle span now carry min-width: 0, matching core's
src/html/pages/mailbox/inbox.astro. Now 857/857 on all eight rows.
The demo's apexcharts CSS pin was already corrected to 6.10.0 in 0.6.0;
the 6.8.0 the audit saw is pre-0.6.0 output that has not been redeployed.
Re-checked every jsDelivr pin against package.json: no mismatch remains.
Verified: library build, type-check, lint (0 errors, 13 pre-existing
warnings), 19 unit tests, demo type-check, the EXPORT=true subpath export
(66 static pages), all 67 Playwright route-smoke + a11y tests, plus a
Playwright pass over the built export served at the real
/themes/next-react/ subpath and against next dev at the domain root.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,19 @@ All notable changes to **@adminlte/react** are documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.6.1] - 2026-08-19
9
+
10
+
### Fixed
11
+
12
+
- **The RTL layout page rendered blank under the subpath deploy.** `RtlStyles` hardcoded `href="/css/adminlte.rtl.css"`, which resolves against the *domain root* — so on [adminlte.io/themes/next-react](https://adminlte.io/themes/next-react/) (the `EXPORT=true` build, base path `/themes/next-react`) the request 404'd and the page ran `dir="rtl"` against LTR-compiled AdminLTE CSS: the shell was pushed off-canvas, leaving an empty viewport behind ~10,000 px of horizontal overflow (`document.scrollWidth` **11440** in a 1440 px window). The href now goes through the demo's existing `withBase()` helper — the same one `SubpathLinks` and the page data already use — so it stays `/css/adminlte.rtl.css` at the domain root (local `next dev`) and becomes `/themes/next-react/css/adminlte.rtl.css` in the export. The stylesheet itself was always deployed correctly; only the link was wrong. Verified in **both** modes against real builds: no 404, 1855 rules parsed, `dir="rtl"` applied, `scrollWidth === clientWidth === 1440`.
13
+
-**Mailbox inbox rows overflowed their card.** The row link (`a.flex-grow-1.d-flex.flex-column.flex-md-row`) is itself a flex item, so its `min-width` computed to `auto` and it refused to shrink below its content — the `span.text-truncate` inside it never truncated and the subject text ran past the card edge instead. Both the row link and its elastic middle span now carry `min-width: 0`, matching the core HTML demo (`src/html/pages/mailbox/inbox.astro`). Measured on `/mailbox/inbox`: `.list-group`**1168 / 857** (311 px of clipped text spilling out of the card) → **857 / 857** across all eight rows, with the truncation ellipsis doing its job.
14
+
15
+
### Notes
16
+
17
+
-**Demo-only release.**`src/` is untouched and the published `dist/` is byte-identical to 0.6.0 — nothing an npm consumer imports changed, which is why this is a patch and not 0.7.0. It gets a version at all because the demo is a shipped artifact of this repo and its RTL page was unusable; the fix reaches people when the demo is **redeployed**, not when the package is published, so publishing 0.6.1 to npm is optional.
18
+
-**The demo's CDN pins were re-checked against `package.json`: no mismatch remains.** apexcharts 6.10.0, tabulator-tables 6.5.2, tom-select 2.6.2, quill 2.0.3, flatpickr 4.6.13 and jsvectormap 1.7.0 all match their installed versions; Bootstrap 5.3.8 matches `admin-lte`'s peer range; Bootstrap Icons 1.13.1, OverlayScrollbars 2.16.0, FullCalendar 7.0.2 and Source Sans 3 5.3.0 have no `package.json` counterpart (CDN-only) and are each at their latest release. The `apexcharts@6.8.0` CSS still visible on the live demo is pre-0.6.0 output — that pin was corrected in 0.6.0 and simply has not been redeployed yet.
19
+
- Verified: library build, type-check, lint (0 errors, 13 pre-existing warnings) and 19 unit tests; demo type-check and the `EXPORT=true` subpath export (66 static pages); all 67 Playwright route-smoke + a11y tests; plus a Playwright pass over the built export served at the real `/themes/next-react/` subpath, covering both fixes above.
20
+
8
21
## [0.6.0] - 2026-08-19
9
22
10
23
### Changed
@@ -227,6 +240,7 @@ Next.js App Router and React Server Components.
227
240
- Heavy third-party libraries are never bundled eagerly — they load via dynamic
0 commit comments