@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.
package/core/esm/dev.js CHANGED
@@ -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
  */
@@ -11424,7 +11424,7 @@ function create$3(definition) {
11424
11424
  return cache[key];
11425
11425
  }
11426
11426
 
11427
- const NEBULA_VERSION_HASH = "2bc2" ;
11427
+ const NEBULA_VERSION_HASH = "2842" ;
11428
11428
  ClassNameGenerator.configure(componentName => {
11429
11429
 
11430
11430
  return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
@@ -11997,7 +11997,7 @@ function boot(_ref2) {
11997
11997
  const appRef = React__default.createRef();
11998
11998
  const element = document.createElement('div');
11999
11999
  element.style.display = 'none';
12000
- element.setAttribute('data-nebulajs-version', "3.0.0-alpha3" );
12000
+ element.setAttribute('data-nebulajs-version', "3.0.0-alpha4" );
12001
12001
  element.setAttribute('data-app-id', app.id);
12002
12002
  document.body.appendChild(element);
12003
12003
  ReactDOM.render( /*#__PURE__*/React__default.createElement(NebulaApp, {
@@ -14412,7 +14412,7 @@ function ListBox(_ref2) {
14412
14412
  if (typeof setCount === 'function' && layout) {
14413
14413
  setCount(layout.qListObject.qSize.qcy);
14414
14414
  }
14415
- }, [layout]);
14415
+ }, [layout, layout && layout.qListObject.qSize.qcy]);
14416
14416
  useEffect$1(() => {
14417
14417
  if (!instantPages || isLoadingData) {
14418
14418
  return;
@@ -15108,7 +15108,12 @@ function ListBoxSearch(_ref) {
15108
15108
 
15109
15109
  const onChange = e => {
15110
15110
  setValue(e.target.value);
15111
- model.searchListObjectFor(TREE_PATH, e.target.value);
15111
+
15112
+ if (e.target.value.length === 0) {
15113
+ model.abortListObjectSearch(TREE_PATH);
15114
+ } else {
15115
+ model.searchListObjectFor(TREE_PATH, e.target.value);
15116
+ }
15112
15117
  };
15113
15118
 
15114
15119
  const onKeyDown = e => {
@@ -24739,7 +24744,7 @@ var enigmaMocker = {exports: {}};
24739
24744
  var enigmaMocker_dev = {exports: {}};
24740
24745
 
24741
24746
  /*
24742
- * @nebula.js/enigma-mocker v3.0.0-alpha2
24747
+ * @nebula.js/enigma-mocker v3.0.0-alpha3
24743
24748
  * Copyright (c) 2022 QlikTech International AB
24744
24749
  * Released under the MIT license.
24745
24750
  */