@nebularstreams/libmui 2.5.12 → 2.5.14

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebularstreams/libmui",
3
3
  "description": "Micro UI based on Mithril",
4
- "version": "2.5.12",
4
+ "version": "2.5.14",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
@@ -51,7 +51,7 @@
51
51
 
52
52
  #modal-container > .modal-content {
53
53
  width: auto !important;
54
- min-width: 500px;
54
+ min-width: 512px !important;
55
55
  max-width: 50%;
56
56
  max-height: 75%;
57
57
  overflow-y: auto;
@@ -874,7 +874,7 @@ const
874
874
  removeIcon: metaDef.removeIcon,
875
875
  nodelete: metaDef.nodelete,
876
876
  onchange: (value, event) => {
877
- if (event.shiftKey) {
877
+ if (event?.shiftKey) {
878
878
  if (metaDef.shiftPress) {
879
879
  metaDef.shiftPress(targetParameters, auxParameters);
880
880
  }
@@ -912,7 +912,7 @@ const
912
912
  {
913
913
  busy, mainState, parameters, auxParameters, cardid, size, index,
914
914
  titleWidget, parametersTitle, parametersBody, rootUpdate, global, layer,
915
- tableChildren, cols, onLayerReset, onAction, nofold
915
+ tableChildren, cols, onLayerReset, onAction, nofold, bodyClass
916
916
  } = attrs;
917
917
 
918
918
  return m(CardieWidget, {
@@ -976,6 +976,7 @@ const
976
976
 
977
977
  cardid,
978
978
  class: "withbottommargin relative" + (attrs.class ? " " + attrs.class : ""),
979
+ bodyClass,
979
980
  expandedView: () => [
980
981
 
981
982
  ...parametersBody.meta