@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.
@@ -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
  */
@@ -16197,7 +16197,7 @@
16197
16197
  return cache[key];
16198
16198
  }
16199
16199
 
16200
- const NEBULA_VERSION_HASH = "2842" ;
16200
+ const NEBULA_VERSION_HASH = "6da9" ;
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-alpha4" );
16773
+ element.setAttribute('data-nebulajs-version', "3.0.0-alpha5" );
16774
16774
  element.setAttribute('data-app-id', app.id);
16775
16775
  document.body.appendChild(element);
16776
16776
  ReactDOM.render( /*#__PURE__*/React.createElement(NebulaApp, {
@@ -32128,7 +32128,12 @@
32128
32128
  }
32129
32129
 
32130
32130
  const isVertical = listLayout !== 'horizontal';
32131
- const count = layout.qListObject.qSize.qcy;
32131
+ let count = layout.qListObject.qSize.qcy; // Should not allow a count of zero since it will stop executing loadMoreItems
32132
+ // this could happen if a seach returns an empty result
32133
+
32134
+ if (count === 0) {
32135
+ count = 1;
32136
+ }
32132
32137
 
32133
32138
  const getCalculatedHeight = ps => {
32134
32139
  // If values have been filtered in the currently loaded page, we want to
@@ -42438,7 +42443,7 @@
42438
42443
  var enigmaMocker_dev = {exports: {}};
42439
42444
 
42440
42445
  /*
42441
- * @nebula.js/enigma-mocker v3.0.0-alpha3
42446
+ * @nebula.js/enigma-mocker v3.0.0-alpha4
42442
42447
  * Copyright (c) 2022 QlikTech International AB
42443
42448
  * Released under the MIT license.
42444
42449
  */