waibu-bootstrap 2.9.2 → 2.10.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.
@@ -5,7 +5,7 @@ export const fstyles = ['italic', 'normal']
5
5
  export const heights = ['1', 'sm', 'base', 'lg']
6
6
  export const cvariants = ['emphasis', 'secondary', 'tertiary']
7
7
  export const cbgvariants = ['subtle']
8
- export const opacities = ['0', '25', '50', '75', '100']
8
+ export const opacities = ['10', '25', '50', '75', '100']
9
9
  export const aligns = ['top', 'bottom', 'start', 'end', 'middle']
10
10
  export const dirs = ['up', 'down', 'start', 'end']
11
11
  export const widths = ['0', '1', '2', '3', '4', '5']
@@ -8,6 +8,7 @@ async function formPlaintext () {
8
8
  const { isEmpty, get } = this.app.lib._
9
9
  const { escape } = this.app.waibu
10
10
  this.params.attr.disabled = true
11
+ this.params.attr.background = 'color:secondary opacity:10'
11
12
  const { name } = this.params.attr
12
13
  if (this.params.attr.labelFloating) this.params.attr.class.push('border', 'rounded')
13
14
  if (!isEmpty(name) && isEmpty(this.params.attr.value)) {
@@ -93,9 +93,7 @@ async function navDropdownSetting () {
93
93
  async signout () {
94
94
  await wbs.confirmation(\`${this.component.req.t('signoutWarning')}\`, {
95
95
  ok: '${id}:post',
96
- close: 'y',
97
- theme: '${this.component.theme.name}',
98
- iconset: '${this.component.iconset.name}'
96
+ close: 'y'
99
97
  })
100
98
  },
101
99
  post () {
@@ -10,9 +10,7 @@ async function navItemSignout () {
10
10
  async signout () {
11
11
  await wbs.confirmation(\`${this.component.req.t('signoutWarning')}\`, {
12
12
  ok: '${this.params.attr.id}:post',
13
- close: 'y',
14
- theme: '${this.component.theme.name}',
15
- iconset: '${this.component.iconset.name}'
13
+ close: 'y'
16
14
  })
17
15
  },
18
16
  post () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-bootstrap",
3
- "version": "2.9.2",
3
+ "version": "2.10.0",
4
4
  "description": "Bootstrap suport for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-05-25
4
+
5
+ - [2.10.0] Bug fix in ```_lib.js```
6
+ - [2.10.0] Add dimmed background for ```form-plaintext``` widget
7
+ - [2.10.0] Auto detect theme & iconset
8
+
3
9
  ## 2026-05-22
4
10
 
5
11
  - [2.9.2] Bug fix in ```drawer``` widget