waibu-bootstrap 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.
@@ -0,0 +1,5 @@
1
+ async function waibuMpaAfterBuildPage ({ $, theme, req }) {
2
+ if (req.darkMode && theme.name === 'bootstrap') $('body').attr('data-bs-theme', 'dark')
3
+ }
4
+
5
+ export default waibuMpaAfterBuildPage
@@ -13,6 +13,7 @@ async function fieldset () {
13
13
  if (group.grid && !this.params.attr.card && !group.grid.margin) group.grid.margin = 'bottom-3'
14
14
  if (group.grid) this.params.html = await this.component.buildTag({ tag: 'gridRow', attr: group.grid, html: this.params.html })
15
15
  if (group.card) {
16
+ group.card.border = true
16
17
  if (!group.card.margin) group.card.margin = 'bottom-4'
17
18
  let sentence = `
18
19
  <c:card-header>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-bootstrap",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "Bootstrap suport for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-01-18
4
+
5
+ - [2.1.5] Darkmode handling
6
+ - [2.1.5] Put border around fieldset if its type is a card
7
+
3
8
  ## 2026-01-17
4
9
 
5
10
  - [2.1.3] Sidebar buttons in inactive state should be transparent
@@ -1,5 +0,0 @@
1
- async function waibuMpaBootstrapAfterBuildPage ({ $, req }) {
2
- if (req.darkMode) $('html').attr('data-bs-theme', 'dark')
3
- }
4
-
5
- export default waibuMpaBootstrapAfterBuildPage