waibu-bootswatch 2.0.1 → 2.1.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.
Files changed (46) hide show
  1. package/.github/FUNDING.yml +0 -0
  2. package/.github/workflows/repo-lockdown.yml +0 -0
  3. package/.jsdoc.conf.json +0 -0
  4. package/LICENSE +0 -0
  5. package/README.md +0 -0
  6. package/docs/WaibuBootswatch.html +0 -0
  7. package/docs/data/search.json +0 -0
  8. package/docs/fonts/Inconsolata-Regular.ttf +0 -0
  9. package/docs/fonts/OpenSans-Regular.ttf +0 -0
  10. package/docs/fonts/WorkSans-Bold.ttf +0 -0
  11. package/docs/global.html +0 -0
  12. package/docs/index.html +0 -0
  13. package/docs/index.js.html +1 -1
  14. package/docs/scripts/core.js +0 -0
  15. package/docs/scripts/core.min.js +0 -0
  16. package/docs/scripts/resize.js +0 -0
  17. package/docs/scripts/search.js +0 -0
  18. package/docs/scripts/search.min.js +0 -0
  19. package/docs/scripts/third-party/Apache-License-2.0.txt +0 -0
  20. package/docs/scripts/third-party/fuse.js +0 -0
  21. package/docs/scripts/third-party/hljs-line-num-original.js +0 -0
  22. package/docs/scripts/third-party/hljs-line-num.js +0 -0
  23. package/docs/scripts/third-party/hljs-original.js +0 -0
  24. package/docs/scripts/third-party/hljs.js +0 -0
  25. package/docs/scripts/third-party/popper.js +0 -0
  26. package/docs/scripts/third-party/tippy.js +0 -0
  27. package/docs/scripts/third-party/tocbot.js +0 -0
  28. package/docs/scripts/third-party/tocbot.min.js +0 -0
  29. package/docs/static/bitcoin.jpeg +0 -0
  30. package/docs/static/home.md +0 -0
  31. package/docs/static/logo-ecosystem.png +0 -0
  32. package/docs/static/logo.png +0 -0
  33. package/docs/styles/clean-jsdoc-theme-base.css +0 -0
  34. package/docs/styles/clean-jsdoc-theme-dark.css +0 -0
  35. package/docs/styles/clean-jsdoc-theme-light.css +0 -0
  36. package/docs/styles/clean-jsdoc-theme-scrollbar.css +0 -0
  37. package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -0
  38. package/docs/styles/clean-jsdoc-theme.min.css +0 -0
  39. package/extend/bajo/hook/waibu-mpa@after-build-page.js +2 -1
  40. package/extend/waibuMpa/theme.js +0 -0
  41. package/extend/waibuStatic/virtual.json +0 -0
  42. package/index.js +1 -4
  43. package/package.json +8 -3
  44. package/wiki/CHANGES.md +10 -0
  45. package/wiki/CONFIG.md +0 -0
  46. package/wiki/CONTRIBUTING.md +0 -0
File without changes
File without changes
package/.jsdoc.conf.json CHANGED
File without changes
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/docs/global.html CHANGED
File without changes
package/docs/index.html CHANGED
File without changes
@@ -14,7 +14,7 @@ async function factory (pkgName) {
14
14
  *
15
15
  * @class
16
16
  */
17
- class WaibuBootswatch extends this.app.pluginClass.base {
17
+ class WaibuBootswatch extends this.app.baseClass.Base {
18
18
  static alias = 'wbw'
19
19
  static dependencies = ['waibu-mpa', 'waibu-bootstrap']
20
20
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,6 @@
1
1
  async function waibuMpaAfterBuildPage ({ $, theme, req }) {
2
- if (req.darkMode && theme.framework === 'bootstrap') $('html').attr('data-bs-theme', 'dark')
2
+ console.log(theme)
3
+ if (req.darkMode && theme.framework === 'bootstrap') $('body').attr('data-bs-theme', 'dark')
3
4
  }
4
5
 
5
6
  export default waibuMpaAfterBuildPage
File without changes
File without changes
package/index.js CHANGED
@@ -12,10 +12,7 @@ async function factory (pkgName) {
12
12
  *
13
13
  * @class
14
14
  */
15
- class WaibuBootswatch extends this.app.pluginClass.base {
16
- static alias = 'wbw'
17
- static dependencies = ['waibu-mpa', 'waibu-bootstrap']
18
-
15
+ class WaibuBootswatch extends this.app.baseClass.Base {
19
16
  constructor () {
20
17
  super(pkgName, me.app)
21
18
  this.config = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-bootswatch",
3
- "version": "2.0.1",
3
+ "version": "2.1.1",
4
4
  "description": "Bootswatch suport for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,7 +9,12 @@
9
9
  },
10
10
  "type": "module",
11
11
  "bajo": {
12
- "type": "plugin"
12
+ "type": "plugin",
13
+ "alias": "wbw",
14
+ "dependencies": [
15
+ "waibu-mpa",
16
+ "waibu-bootstrap"
17
+ ]
13
18
  },
14
19
  "repository": {
15
20
  "type": "git",
@@ -32,7 +37,7 @@
32
37
  },
33
38
  "homepage": "https://github.com/ardhi/waibu-bootswatch#readme",
34
39
  "dependencies": {
35
- "bootswatch": "^5.3.3"
40
+ "bootswatch": "^5.3.8"
36
41
  },
37
42
  "devDependencies": {
38
43
  "clean-jsdoc-theme": "^4.3.0",
@@ -0,0 +1,10 @@
1
+ # Changes
2
+
3
+ ## 2026-01-18
4
+
5
+ - [2.1.1] Darkmode handling
6
+
7
+ ## 2026-01-08
8
+
9
+ - [2.1.0] Ported to match ```bajo@2.2.x``` specs
10
+ - [2.1.0] Upgrade to ```bootswatch@5.3.8```
package/wiki/CONFIG.md CHANGED
File without changes
File without changes