@nebularstreams/libmui 2.5.68 → 2.5.70

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.68",
4
+ "version": "2.5.70",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
@@ -421,7 +421,8 @@ const
421
421
  optionsDict: attrs.optionsDict,
422
422
  play: attrs.play,
423
423
  auxTargetIsDefault: attrs.auxTargetIsDefault,
424
- AssetButton: attrs.AssetButton
424
+ AssetButton: attrs.AssetButton,
425
+ CodeMirror: attrs.CodeMirror
425
426
  })
426
427
  ],
427
428
  titleExpended: metaDef.titleExpanded || metaDef.hint,
@@ -932,7 +933,7 @@ const
932
933
  busy, parameters, auxParameters, cardid, size, index,
933
934
  titleWidget, parametersTitle, parametersBody, rootUpdate: mainRootUpdate, global, layer,
934
935
  tableChildren, cols, onLayerReset, onAction, nofold, bodyClass, titleAction,
935
- AssetButton
936
+ AssetButton, CodeMirror
936
937
  } = attrs;
937
938
 
938
939
  return m(CardieWidget, {
@@ -963,6 +964,7 @@ const
963
964
  clone: true,
964
965
  global, layer,
965
966
  AssetButton,
967
+ CodeMirror,
966
968
  onAction,
967
969
  onchange: (realtime, targetParameters, metaKey, wasDeleted, metaDef) => {
968
970
 
@@ -1029,6 +1031,7 @@ const
1029
1031
  itemsDict: attrs.itemsDict,
1030
1032
  optionsDict: attrs.optionsDict,
1031
1033
  AssetButton,
1034
+ CodeMirror,
1032
1035
  onAction,
1033
1036
  onchange: (realtime, targetParameters, metaKey, wasDeleted, metaDef, event) => {
1034
1037
  const rootUpdate = metaDef.rootUpdate || mainRootUpdate;
@@ -1205,7 +1208,8 @@ const
1205
1208
  taint();
1206
1209
  m.redraw();
1207
1210
  },
1208
- AssetButton: attrs.AssetButton
1211
+ AssetButton: attrs.AssetButton,
1212
+ CodeMirror: attrs.CodeMirror
1209
1213
  })] : [],
1210
1214
 
1211
1215
  ...hasSize ? [m(".flexbreak"), m(RangeWidget, {