@nebularstreams/libmui 2.5.90 → 2.5.92
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/dist/libui.css +1 -1
- package/dist/libui.esm.js +1 -1
- package/dist/libui.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/widgets/Basic.js +8 -2
- package/src/widgets/css/input.css +1 -2
package/package.json
CHANGED
package/src/widgets/Basic.js
CHANGED
|
@@ -203,7 +203,7 @@ const
|
|
|
203
203
|
(attrs.element || "widget") + ".selector" + (attrs.horizontal ? ".flexrow" : ".flexcol") + (attrs.className ? "." + attrs.className : ""),
|
|
204
204
|
{
|
|
205
205
|
...attrs.key && {key: attrs.key},
|
|
206
|
-
class: (state.current ? "hascurrent" : "empty") + (attrs.class ? " " + attrs.class : "")+ (
|
|
206
|
+
class: (state.current ? "hascurrent" : "empty") + (attrs.class ? " " + attrs.class : "") + (current?.bodyTitle ? " withbodytitle" : "")
|
|
207
207
|
},
|
|
208
208
|
[
|
|
209
209
|
...((!attrs.hideonly || (attrs.items.length > 1)) && (!attrs.hidesel))
|
|
@@ -247,8 +247,14 @@ const
|
|
|
247
247
|
] : [],
|
|
248
248
|
...(!attrs.toggle || !state.bodyHidden)
|
|
249
249
|
? [
|
|
250
|
+
...current?.bodyTitle ? [
|
|
251
|
+
m(".bodytitle", current.bodyTitle)
|
|
252
|
+
] : [],
|
|
250
253
|
/** body */
|
|
251
|
-
m(".grows.flexcol.ohidden.selectorbody", {
|
|
254
|
+
m(".grows.flexcol.ohidden.selectorbody", {
|
|
255
|
+
class: attrs.bodyClass,
|
|
256
|
+
role: "presentation"
|
|
257
|
+
}, [
|
|
252
258
|
m(
|
|
253
259
|
current.widget,
|
|
254
260
|
getAttrs(current.attrs, attrs, state.currentParams),
|