waibu-mpa 2.1.4 → 2.1.5

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.
@@ -9,7 +9,6 @@ async function injectElements (options) {
9
9
  const { runHook } = this.app.bajo
10
10
  const { get, isString, isFunction, isEmpty } = this.app.lib._
11
11
  $('html').attr('lang', req.lang)
12
- if (req.darkMode) $('body').attr('data-bs-theme', 'dark')
13
12
  const rsc = {}
14
13
  for (const tag of reply.ctags ?? []) {
15
14
  let Builder = get(cmp, `widget.${tag}`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-mpa",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "MPA support for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-01-18
4
+
5
+ - [2.1.5] Dark mode should only be handle by a hook
6
+
3
7
  ## 2026-01-17
4
8
 
5
9
  - [2.1.3] Bug fix on ```getAppTitle()```