@nebula.js/stardust 3.0.0-alpha3 → 3.0.0-alpha4

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @nebula.js/stardust v3.0.0-alpha3
2
+ * @nebula.js/stardust v3.0.0-alpha4
3
3
  * Copyright (c) 2022 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
@@ -16197,7 +16197,7 @@
16197
16197
  return cache[key];
16198
16198
  }
16199
16199
 
16200
- const NEBULA_VERSION_HASH = "2bc2" ;
16200
+ const NEBULA_VERSION_HASH = "2842" ;
16201
16201
  ClassNameGenerator.configure(componentName => {
16202
16202
 
16203
16203
  return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
@@ -16770,7 +16770,7 @@
16770
16770
  const appRef = React.createRef();
16771
16771
  const element = document.createElement('div');
16772
16772
  element.style.display = 'none';
16773
- element.setAttribute('data-nebulajs-version', "3.0.0-alpha3" );
16773
+ element.setAttribute('data-nebulajs-version', "3.0.0-alpha4" );
16774
16774
  element.setAttribute('data-app-id', app.id);
16775
16775
  document.body.appendChild(element);
16776
16776
  ReactDOM.render( /*#__PURE__*/React.createElement(NebulaApp, {
@@ -32106,7 +32106,7 @@
32106
32106
  if (typeof setCount === 'function' && layout) {
32107
32107
  setCount(layout.qListObject.qSize.qcy);
32108
32108
  }
32109
- }, [layout]);
32109
+ }, [layout, layout && layout.qListObject.qSize.qcy]);
32110
32110
  react.exports.useEffect(() => {
32111
32111
  if (!instantPages || isLoadingData) {
32112
32112
  return;
@@ -32802,7 +32802,12 @@
32802
32802
 
32803
32803
  const onChange = e => {
32804
32804
  setValue(e.target.value);
32805
- model.searchListObjectFor(TREE_PATH, e.target.value);
32805
+
32806
+ if (e.target.value.length === 0) {
32807
+ model.abortListObjectSearch(TREE_PATH);
32808
+ } else {
32809
+ model.searchListObjectFor(TREE_PATH, e.target.value);
32810
+ }
32806
32811
  };
32807
32812
 
32808
32813
  const onKeyDown = e => {
@@ -42433,7 +42438,7 @@
42433
42438
  var enigmaMocker_dev = {exports: {}};
42434
42439
 
42435
42440
  /*
42436
- * @nebula.js/enigma-mocker v3.0.0-alpha2
42441
+ * @nebula.js/enigma-mocker v3.0.0-alpha3
42437
42442
  * Copyright (c) 2022 QlikTech International AB
42438
42443
  * Released under the MIT license.
42439
42444
  */