waibu-mpa 2.3.0 → 2.4.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.
|
@@ -9,6 +9,7 @@ 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')
|
|
12
13
|
const rsc = {}
|
|
13
14
|
for (const tag of reply.ctags ?? []) {
|
|
14
15
|
let Builder = get(cmp, `widget.${tag}`)
|
package/lib/iconset-mappings.js
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
alignEnd: {},
|
|
8
8
|
alignCenter: {},
|
|
9
9
|
alignMiddle: {},
|
|
10
|
+
anchor: {},
|
|
10
11
|
archive: {},
|
|
11
12
|
arrowCw: {},
|
|
12
13
|
arrowCcw: {},
|
|
@@ -210,8 +211,8 @@ export default {
|
|
|
210
211
|
moon: {},
|
|
211
212
|
mouse: {},
|
|
212
213
|
music: {},
|
|
213
|
-
newspaper: {},
|
|
214
214
|
navigation: {},
|
|
215
|
+
newspaper: {},
|
|
215
216
|
outlet: {},
|
|
216
217
|
palette: {},
|
|
217
218
|
paperclip: {},
|
package/package.json
CHANGED
package/wiki/CHANGES.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
- [2.3.0] Bug fix on ```loadResource()```
|
|
9
9
|
- [2.3.0] Bug fix on ```<link />``` injection
|
|
10
10
|
- [2.3.0] Bug fix on order of metas, links & scripts
|
|
11
|
+
- [2.4.0] Add ```anchor``` and ```navigation``` icons
|
|
12
|
+
- [2.4.0] Add dark mode auto detect right at inject elements
|
|
11
13
|
|
|
12
14
|
## 2026-02-05
|
|
13
15
|
|