@nebula.js/stardust 2.4.1 → 2.5.0

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 v2.4.1
2
+ * @nebula.js/stardust v2.5.0
3
3
  * Copyright (c) 2022 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
@@ -11023,7 +11023,7 @@
11023
11023
  return [appSelections, navState];
11024
11024
  }
11025
11025
 
11026
- const NEBULA_VERSION_HASH = "12a4" ;
11026
+ const NEBULA_VERSION_HASH = "daf8" ;
11027
11027
  let counter = 0;
11028
11028
  const NebulaApp = react.exports.forwardRef((_ref, ref) => {
11029
11029
  let {
@@ -11083,7 +11083,7 @@
11083
11083
  const appRef = React.createRef();
11084
11084
  const element = document.createElement('div');
11085
11085
  element.style.display = 'none';
11086
- element.setAttribute('data-nebulajs-version', "2.4.1" );
11086
+ element.setAttribute('data-nebulajs-version', "2.5.0" );
11087
11087
  element.setAttribute('data-app-id', app.id);
11088
11088
  document.body.appendChild(element);
11089
11089
  ReactDOM.render( /*#__PURE__*/React.createElement(NebulaApp, {
@@ -23596,6 +23596,9 @@
23596
23596
  const {
23597
23597
  nebbie
23598
23598
  } = halo.public;
23599
+ const {
23600
+ disableCellPadding = false
23601
+ } = halo.context || {};
23599
23602
  const {
23600
23603
  translator,
23601
23604
  language,
@@ -23855,12 +23858,13 @@
23855
23858
  container: true,
23856
23859
  direction: "column",
23857
23860
  spacing: 0,
23858
- style: _objectSpread2({
23861
+ style: _objectSpread2(_objectSpread2({
23859
23862
  position: 'relative',
23860
23863
  width: '100%',
23861
- height: '100%',
23864
+ height: '100%'
23865
+ }, !disableCellPadding ? {
23862
23866
  padding: theme.spacing(1)
23863
- }, state.longRunningQuery ? {
23867
+ } : {}), state.longRunningQuery ? {
23864
23868
  opacity: '0.3'
23865
23869
  } : {})
23866
23870
  }, cellNode && layout && state.sn && /*#__PURE__*/React.createElement(Header, {
@@ -24210,7 +24214,7 @@
24210
24214
  * @description Rendering configuration for creating and rendering a new object
24211
24215
  * @extends BaseConfig
24212
24216
  * @property {string} type
24213
- * @property {string} version
24217
+ * @property {string=} version
24214
24218
  * @property {(Field[])=} fields
24215
24219
  * @property {EngineAPI.IGenericObjectProperties=} properties
24216
24220
  */
@@ -28226,7 +28230,7 @@
28226
28230
  /**
28227
28231
  * @interface TypeInfo
28228
28232
  * @property {string} name
28229
- * @property {string} version
28233
+ * @property {string=} version
28230
28234
  * @property {LoadType} load
28231
28235
  * @property {object=} meta
28232
28236
  */
@@ -28386,6 +28390,7 @@
28386
28390
 
28387
28391
  /**
28388
28392
  * @interface Context
28393
+ * @property {boolean=} disableCellPadding
28389
28394
  * @property {boolean=} keyboardNavigation
28390
28395
  * @property {object=} constraints
28391
28396
  * @property {boolean=} constraints.active
@@ -28405,7 +28410,8 @@
28405
28410
  /** @type {string=} */
28406
28411
  deviceType: 'auto',
28407
28412
  constraints: {},
28408
- keyboardNavigation: false
28413
+ keyboardNavigation: false,
28414
+ disableCellPadding: false
28409
28415
  };
28410
28416
  /**
28411
28417
  * @interface SnapshotConfiguration
@@ -28755,6 +28761,7 @@
28755
28761
  * @param {object} [options.selectionsApi] Use a custom selectionsApi to customize how values are selected.
28756
28762
  * @param {ReceiverFunction} [options.update] A function which receives an update function which upon call will trigger a data fetch.
28757
28763
  * @since 1.1.0
28764
+ * @instance
28758
28765
  * @example
28759
28766
  * fieldInstance.mount(element);
28760
28767
  */
@@ -28782,6 +28789,7 @@
28782
28789
  /**
28783
28790
  * Unmounts the field listbox from the DOM.
28784
28791
  * @since 1.1.0
28792
+ * @instance
28785
28793
  * @example
28786
28794
  * listbox.unmount();
28787
28795
  */