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.
- package/extend/waibuMpa/theme/component/method/after-build-tag/_lib.js +1 -1
- package/extend/waibuMpa/theme/component/widget/form-plaintext.js +1 -0
- package/extend/waibuMpa/theme/component/widget/nav-dropdown-setting.js +1 -3
- package/extend/waibuMpa/theme/component/widget/nav-item-signout.js +1 -3
- package/package.json +1 -1
- package/wiki/CHANGES.md +6 -0
|
@@ -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 = ['
|
|
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
package/wiki/CHANGES.md
CHANGED