@nebula.js/stardust 5.9.1 → 5.9.2

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/package.json CHANGED
@@ -8,4 +8,4 @@
8
8
  "react": "^17.0.2 || ^18.1.0",
9
9
  "react-dom": "^17.0.2 || ^18.1.0"
10
10
  }
11
- }
11
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @nebula.js/stardust v5.9.1
2
+ * @nebula.js/stardust v5.9.2
3
3
  * Copyright (c) 2025 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
@@ -775,8 +775,8 @@
775
775
  r,
776
776
  i = _objectWithoutPropertiesLoose$4(e, t);
777
777
  if (Object.getOwnPropertySymbols) {
778
- var s = Object.getOwnPropertySymbols(e);
779
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
778
+ var n = Object.getOwnPropertySymbols(e);
779
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
780
780
  }
781
781
  return i;
782
782
  }
@@ -784,7 +784,7 @@
784
784
  if (null == r) return {};
785
785
  var t = {};
786
786
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
787
- if (e.includes(n)) continue;
787
+ if (-1 !== e.indexOf(n)) continue;
788
788
  t[n] = r[n];
789
789
  }
790
790
  return t;
@@ -15362,7 +15362,7 @@
15362
15362
  return cache[key];
15363
15363
  }
15364
15364
 
15365
- const NEBULA_VERSION_HASH = "c2cd";
15365
+ const NEBULA_VERSION_HASH = "1ccd";
15366
15366
  ClassNameGenerator.configure(componentName => {
15367
15367
  return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
15368
15368
  });
@@ -15594,7 +15594,7 @@
15594
15594
  const appRef = React.createRef();
15595
15595
  const element = document.createElement('div');
15596
15596
  element.style.display = 'none';
15597
- element.setAttribute('data-nebulajs-version', "5.9.1");
15597
+ element.setAttribute('data-nebulajs-version', "5.9.2");
15598
15598
  element.setAttribute('data-app-id', app.id);
15599
15599
  document.body.appendChild(element);
15600
15600
  if (context) {
@@ -31441,7 +31441,8 @@
31441
31441
  qSortByAscii: 1,
31442
31442
  qSortByNumeric: 1,
31443
31443
  qSortByLoadOrder: 1
31444
- }]
31444
+ }],
31445
+ direction = 'ltr'
31445
31446
  } = _ref;
31446
31447
  const isMasterDim = Boolean(fieldName === null || fieldName === undefined ? undefined : fieldName.qLibraryId);
31447
31448
  const open = show && Boolean(alignTo.current);
@@ -31540,7 +31541,8 @@
31540
31541
  }
31541
31542
  }
31542
31543
  },
31543
- onKeyDown: e => e.key === 'Enter' ? popoverClose() : undefined
31544
+ onKeyDown: e => e.key === 'Enter' ? popoverClose() : undefined,
31545
+ direction: direction
31544
31546
  }, /*#__PURE__*/React.createElement(Grid, {
31545
31547
  container: true,
31546
31548
  direction: "column",
@@ -31550,6 +31552,7 @@
31550
31552
  item: true,
31551
31553
  container: true,
31552
31554
  style: {
31555
+ direction,
31553
31556
  padding: theme.spacing(1)
31554
31557
  }
31555
31558
  }, /*#__PURE__*/React.createElement(Grid, {
@@ -31612,14 +31615,15 @@
31612
31615
  innerTabStops: true,
31613
31616
  focusSelection: keyboard.focusSelection
31614
31617
  },
31615
- autoFocus: autoFocus !== null && autoFocus !== undefined ? autoFocus : true
31618
+ autoFocus: autoFocus !== null && autoFocus !== undefined ? autoFocus : true,
31619
+ direction: direction
31616
31620
  })), /*#__PURE__*/React.createElement(ListBox, {
31617
31621
  model: model,
31618
31622
  app: app,
31619
31623
  layout: layout,
31620
31624
  selections: selections,
31621
31625
  selectionState: selectionState$1,
31622
- direction: "ltr",
31626
+ direction: direction,
31623
31627
  onSetListCount: c => setListCount(c),
31624
31628
  onCtrlF: onCtrlF,
31625
31629
  styles: styles,
@@ -34401,7 +34405,8 @@
34401
34405
  stateName: stateName,
34402
34406
  autoFocus: options.autoFocus,
34403
34407
  components: options.components,
34404
- sortCriteria: options.sortCriteria
34408
+ sortCriteria: options.sortCriteria,
34409
+ direction: options.direction
34405
34410
  });
34406
34411
  }
34407
34412