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.
- package/.github/FUNDING.yml +0 -0
- package/.github/workflows/repo-lockdown.yml +0 -0
- package/.jsdoc.conf.json +0 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/docs/WaibuBootswatch.html +0 -0
- package/docs/data/search.json +0 -0
- package/docs/fonts/Inconsolata-Regular.ttf +0 -0
- package/docs/fonts/OpenSans-Regular.ttf +0 -0
- package/docs/fonts/WorkSans-Bold.ttf +0 -0
- package/docs/global.html +0 -0
- package/docs/index.html +0 -0
- package/docs/index.js.html +1 -1
- package/docs/scripts/core.js +0 -0
- package/docs/scripts/core.min.js +0 -0
- package/docs/scripts/resize.js +0 -0
- package/docs/scripts/search.js +0 -0
- package/docs/scripts/search.min.js +0 -0
- package/docs/scripts/third-party/Apache-License-2.0.txt +0 -0
- package/docs/scripts/third-party/fuse.js +0 -0
- package/docs/scripts/third-party/hljs-line-num-original.js +0 -0
- package/docs/scripts/third-party/hljs-line-num.js +0 -0
- package/docs/scripts/third-party/hljs-original.js +0 -0
- package/docs/scripts/third-party/hljs.js +0 -0
- package/docs/scripts/third-party/popper.js +0 -0
- package/docs/scripts/third-party/tippy.js +0 -0
- package/docs/scripts/third-party/tocbot.js +0 -0
- package/docs/scripts/third-party/tocbot.min.js +0 -0
- package/docs/static/bitcoin.jpeg +0 -0
- package/docs/static/home.md +0 -0
- package/docs/static/logo-ecosystem.png +0 -0
- package/docs/static/logo.png +0 -0
- package/docs/styles/clean-jsdoc-theme-base.css +0 -0
- package/docs/styles/clean-jsdoc-theme-dark.css +0 -0
- package/docs/styles/clean-jsdoc-theme-light.css +0 -0
- package/docs/styles/clean-jsdoc-theme-scrollbar.css +0 -0
- package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -0
- package/docs/styles/clean-jsdoc-theme.min.css +0 -0
- package/extend/bajo/hook/waibu-mpa@after-build-page.js +2 -1
- package/extend/waibuMpa/theme.js +0 -0
- package/extend/waibuStatic/virtual.json +0 -0
- package/index.js +1 -4
- package/package.json +8 -3
- package/wiki/CHANGES.md +10 -0
- package/wiki/CONFIG.md +0 -0
- package/wiki/CONTRIBUTING.md +0 -0
package/.github/FUNDING.yml
CHANGED
|
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
|
package/docs/data/search.json
CHANGED
|
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
|
package/docs/index.js.html
CHANGED
|
@@ -14,7 +14,7 @@ async function factory (pkgName) {
|
|
|
14
14
|
*
|
|
15
15
|
* @class
|
|
16
16
|
*/
|
|
17
|
-
class WaibuBootswatch extends this.app.
|
|
17
|
+
class WaibuBootswatch extends this.app.baseClass.Base {
|
|
18
18
|
static alias = 'wbw'
|
|
19
19
|
static dependencies = ['waibu-mpa', 'waibu-bootstrap']
|
|
20
20
|
|
package/docs/scripts/core.js
CHANGED
|
File without changes
|
package/docs/scripts/core.min.js
CHANGED
|
File without changes
|
package/docs/scripts/resize.js
CHANGED
|
File without changes
|
package/docs/scripts/search.js
CHANGED
|
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
|
package/docs/static/bitcoin.jpeg
CHANGED
|
File without changes
|
package/docs/static/home.md
CHANGED
|
File without changes
|
|
File without changes
|
package/docs/static/logo.png
CHANGED
|
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
|
-
|
|
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
|
package/extend/waibuMpa/theme.js
CHANGED
|
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.
|
|
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.
|
|
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.
|
|
40
|
+
"bootswatch": "^5.3.8"
|
|
36
41
|
},
|
|
37
42
|
"devDependencies": {
|
|
38
43
|
"clean-jsdoc-theme": "^4.3.0",
|
package/wiki/CHANGES.md
ADDED
package/wiki/CONFIG.md
CHANGED
|
File without changes
|
package/wiki/CONTRIBUTING.md
CHANGED
|
File without changes
|