@adminlte/react 0.5.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,34 @@ 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
+
21
+ ## [0.6.0] - 2026-08-19
22
+
23
+ ### Changed
24
+
25
+ - **The library now type-checks against Next.js 16.** `next` is an optional peer dependency (`>=14.0.0`) that was never listed in the root `devDependencies`, so pnpm's `autoInstallPeers` resolved it on its own and the lockfile had pinned it at **14.2.35** since the project started — meaning `pnpm type-check` was validating `layout/sidebar-nav.tsx`'s `usePathname` import against **two-major-old Next types** while the demo and consumers ran Next 16. `next` is now pinned in `devDependencies` at `^16.3.1`, matching every other optional peer (`react`, `apexcharts`, `quill`, …) which were already pinned there for exactly this reason. This also clears the last `unmet peer` warning from `pnpm install` (Next 14 wanted `react@^18.2.0` against the installed React 19). No API, source or output changed — `tsc --noEmit` passes against Next 16 types unchanged.
26
+ - **Dependencies updated to their latest releases.** `apexcharts` 6.8.0 → **6.10.0** and Next.js 16.3.0 → **16.3.1** (demo), `vitest` 4.1.10 → **4.1.11**. All within their current majors; no code changes were required.
27
+ - **Demo CDN pin refreshed to match:** apexcharts 6.8.0 → 6.10.0, in the demo's root layout and in the copy-paste snippet on the docs Plugins page. Every other pin (Bootstrap 5.3.8, Bootstrap Icons 1.13.1, OverlayScrollbars 2.16.0, FullCalendar 7.0.2, Source Sans 3 5.3.0, Tabulator 6.5.2, Tom Select 2.6.2, Quill 2.0.3, Flatpickr 4.6.13, jsVectorMap 1.7.0) was already at the latest release.
28
+
29
+ ### Notes
30
+
31
+ - **TypeScript stays on 6.0.3 — still blocked by `typescript-eslint`.** TS 7.0.2 is out, but `typescript-eslint` 8.67.0 (its latest, and its `8.67.1-alpha.18` canary) still peers `typescript@>=4.8.4 <6.1.0` and **hard-throws** rather than warning: `pnpm lint` exits 2 with *"typescript-eslint does not support TS 7.0"*, which would fail the lint gate in CI. Upstream tracks TS >=7.1 support in [typescript-eslint#10940](https://github.com/typescript-eslint/typescript-eslint/issues/10940). Verified again this release: `tsc --noEmit` passes cleanly on 7.0.2 for **both** the library and the demo, so the codebase itself is TS 7-ready and the hold can be lifted the moment typescript-eslint ships support — no source changes should be needed. (Running TS 6 side-by-side purely to feed typescript-eslint was rejected as more fragile than waiting.) Core made the same call in its 4.2.0 release.
32
+ - `admin-lte` is unchanged at 4.8.1, so the bundled stylesheet (`@adminlte/react/css`) is byte-identical to 0.5.0. This is a toolchain/dependency release: `src/` is untouched and the published `dist/` output is unchanged.
33
+ - Peer dependency ranges are unchanged — `next` stays `>=14.0.0`, so nothing consumers depend on narrowed.
34
+ - Verified: library build, type-check, lint (0 errors, 13 pre-existing warnings) and 19 unit tests; the CI RSC-boundary check (35 client modules in `src/` and `dist/`, `dist/form/button.js` still server-only); demo type-check, production build (66 static pages) and the `EXPORT=true` subpath export; all 67 Playwright route-smoke + a11y tests.
35
+
8
36
  ## [0.5.0] - 2026-08-19
9
37
 
10
38
  ### Changed
@@ -212,6 +240,8 @@ Next.js App Router and React Server Components.
212
240
  - Heavy third-party libraries are never bundled eagerly — they load via dynamic
213
241
  `import()` inside the components that use them.
214
242
 
243
+ [0.6.1]: https://github.com/ColorlibHQ/adminlte-react/compare/v0.6.0...v0.6.1
244
+ [0.6.0]: https://github.com/ColorlibHQ/adminlte-react/compare/v0.5.0...v0.6.0
215
245
  [0.5.0]: https://github.com/ColorlibHQ/adminlte-react/compare/v0.4.0...v0.5.0
216
246
  [0.4.0]: https://github.com/ColorlibHQ/adminlte-react/compare/v0.3.0...v0.4.0
217
247
  [0.3.0]: https://github.com/ColorlibHQ/adminlte-react/compare/v0.2.0...v0.3.0
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  A modern React/Next.js component library for building admin dashboards and web applications with AdminLTE 4 styling and Bootstrap 5.3 — built for the Next.js App Router and React Server Components by [Colorlib](https://colorlib.com).
11
11
 
12
- **Status**: v0.5.0 (Early Release, AdminLTE core 4.8.1) · **Live demo:** [adminlte.io/themes/next-react](https://adminlte.io/themes/next-react/)
12
+ **Status**: v0.6.0 (Early Release, AdminLTE core 4.8.1) · **Live demo:** [adminlte.io/themes/next-react](https://adminlte.io/themes/next-react/)
13
13
 
14
14
  <p align="center">
15
15
  <a href="https://adminlte.io/themes/next-react/">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminlte/react",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "AdminLTE 4 React/Next.js component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -84,12 +84,13 @@
84
84
  "@types/react-dom": "^19.2.4",
85
85
  "@types/sortablejs": "^1.15.9",
86
86
  "admin-lte": "^4.8.1",
87
- "apexcharts": "^6.8.0",
87
+ "apexcharts": "^6.10.0",
88
88
  "eslint": "^10.8.1",
89
89
  "eslint-plugin-react-hooks": "^7.1.1",
90
90
  "flatpickr": "^4.6.13",
91
91
  "jsdom": "^30.0.1",
92
92
  "jsvectormap": "^1.7.0",
93
+ "next": "^16.3.1",
93
94
  "quill": "^2.0.3",
94
95
  "react": "^19.2.8",
95
96
  "react-dom": "^19.2.8",
@@ -99,7 +100,7 @@
99
100
  "tsup": "^8.5.1",
100
101
  "typescript": "^6.0.3",
101
102
  "typescript-eslint": "^8.67.0",
102
- "vitest": "^4.1.10"
103
+ "vitest": "^4.1.11"
103
104
  },
104
105
  "scripts": {
105
106
  "build": "tsup && npm run copy-css && npm run fix-dist",