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

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-alpha4
2
+ * @nebula.js/stardust v3.0.0-alpha5
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 = "2842" ;
11427
+ const NEBULA_VERSION_HASH = "6da9" ;
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-alpha4" );
12000
+ element.setAttribute('data-nebulajs-version', "3.0.0-alpha5" );
12001
12001
  element.setAttribute('data-app-id', app.id);
12002
12002
  document.body.appendChild(element);
12003
12003
  ReactDOM.render( /*#__PURE__*/React__default.createElement(NebulaApp, {
@@ -14434,7 +14434,12 @@ function ListBox(_ref2) {
14434
14434
  }
14435
14435
 
14436
14436
  const isVertical = listLayout !== 'horizontal';
14437
- const count = layout.qListObject.qSize.qcy;
14437
+ let count = layout.qListObject.qSize.qcy; // Should not allow a count of zero since it will stop executing loadMoreItems
14438
+ // this could happen if a seach returns an empty result
14439
+
14440
+ if (count === 0) {
14441
+ count = 1;
14442
+ }
14438
14443
 
14439
14444
  const getCalculatedHeight = ps => {
14440
14445
  // If values have been filtered in the currently loaded page, we want to
@@ -24744,7 +24749,7 @@ var enigmaMocker = {exports: {}};
24744
24749
  var enigmaMocker_dev = {exports: {}};
24745
24750
 
24746
24751
  /*
24747
- * @nebula.js/enigma-mocker v3.0.0-alpha3
24752
+ * @nebula.js/enigma-mocker v3.0.0-alpha4
24748
24753
  * Copyright (c) 2022 QlikTech International AB
24749
24754
  * Released under the MIT license.
24750
24755
  */