@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/esm/dev.js CHANGED
@@ -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
  */
@@ -761,8 +761,8 @@ function _objectWithoutProperties(e, t) {
761
761
  r,
762
762
  i = _objectWithoutPropertiesLoose$2(e, t);
763
763
  if (Object.getOwnPropertySymbols) {
764
- var s = Object.getOwnPropertySymbols(e);
765
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
764
+ var n = Object.getOwnPropertySymbols(e);
765
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
766
766
  }
767
767
  return i;
768
768
  }
@@ -770,7 +770,7 @@ function _objectWithoutPropertiesLoose$2(r, e) {
770
770
  if (null == r) return {};
771
771
  var t = {};
772
772
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
773
- if (e.includes(n)) continue;
773
+ if (-1 !== e.indexOf(n)) continue;
774
774
  t[n] = r[n];
775
775
  }
776
776
  return t;
@@ -10820,7 +10820,7 @@ function create$3(definition) {
10820
10820
  return cache[key];
10821
10821
  }
10822
10822
 
10823
- const NEBULA_VERSION_HASH = "c2cd";
10823
+ const NEBULA_VERSION_HASH = "1ccd";
10824
10824
  ClassNameGenerator.configure(componentName => {
10825
10825
  return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
10826
10826
  });
@@ -11052,7 +11052,7 @@ function boot(_ref2) {
11052
11052
  const appRef = React__default.createRef();
11053
11053
  const element = document.createElement('div');
11054
11054
  element.style.display = 'none';
11055
- element.setAttribute('data-nebulajs-version', "5.9.1");
11055
+ element.setAttribute('data-nebulajs-version', "5.9.2");
11056
11056
  element.setAttribute('data-app-id', app.id);
11057
11057
  document.body.appendChild(element);
11058
11058
  if (context) {
@@ -18598,7 +18598,8 @@ function ListBoxPopover(_ref) {
18598
18598
  qSortByAscii: 1,
18599
18599
  qSortByNumeric: 1,
18600
18600
  qSortByLoadOrder: 1
18601
- }]
18601
+ }],
18602
+ direction = 'ltr'
18602
18603
  } = _ref;
18603
18604
  const isMasterDim = Boolean(fieldName === null || fieldName === undefined ? undefined : fieldName.qLibraryId);
18604
18605
  const open = show && Boolean(alignTo.current);
@@ -18697,7 +18698,8 @@ function ListBoxPopover(_ref) {
18697
18698
  }
18698
18699
  }
18699
18700
  },
18700
- onKeyDown: e => e.key === 'Enter' ? popoverClose() : undefined
18701
+ onKeyDown: e => e.key === 'Enter' ? popoverClose() : undefined,
18702
+ direction: direction
18701
18703
  }, /*#__PURE__*/React__default.createElement(Grid, {
18702
18704
  container: true,
18703
18705
  direction: "column",
@@ -18707,6 +18709,7 @@ function ListBoxPopover(_ref) {
18707
18709
  item: true,
18708
18710
  container: true,
18709
18711
  style: {
18712
+ direction,
18710
18713
  padding: theme.spacing(1)
18711
18714
  }
18712
18715
  }, /*#__PURE__*/React__default.createElement(Grid, {
@@ -18769,14 +18772,15 @@ function ListBoxPopover(_ref) {
18769
18772
  innerTabStops: true,
18770
18773
  focusSelection: keyboard.focusSelection
18771
18774
  },
18772
- autoFocus: autoFocus !== null && autoFocus !== undefined ? autoFocus : true
18775
+ autoFocus: autoFocus !== null && autoFocus !== undefined ? autoFocus : true,
18776
+ direction: direction
18773
18777
  })), /*#__PURE__*/React__default.createElement(ListBox, {
18774
18778
  model: model,
18775
18779
  app: app,
18776
18780
  layout: layout,
18777
18781
  selections: selections,
18778
18782
  selectionState: selectionState$1,
18779
- direction: "ltr",
18783
+ direction: direction,
18780
18784
  onSetListCount: c => setListCount(c),
18781
18785
  onCtrlF: onCtrlF,
18782
18786
  styles: styles,
@@ -21558,7 +21562,8 @@ function ListBoxPopoverWrapper(_ref) {
21558
21562
  stateName: stateName,
21559
21563
  autoFocus: options.autoFocus,
21560
21564
  components: options.components,
21561
- sortCriteria: options.sortCriteria
21565
+ sortCriteria: options.sortCriteria,
21566
+ direction: options.direction
21562
21567
  });
21563
21568
  }
21564
21569