@nebula.js/stardust 3.0.0-alpha0 → 3.0.0-alpha1

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-alpha0
2
+ * @nebula.js/stardust v3.0.0-alpha1
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 = "30d9" ;
16200
+ const NEBULA_VERSION_HASH = "4ced" ;
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-alpha0" );
16773
+ element.setAttribute('data-nebulajs-version', "3.0.0-alpha1" );
16774
16774
  element.setAttribute('data-app-id', app.id);
16775
16775
  document.body.appendChild(element);
16776
16776
  ReactDOM.render( /*#__PURE__*/React.createElement(NebulaApp, {
@@ -31322,8 +31322,7 @@
31322
31322
  disableRipple: true,
31323
31323
  size: dense ? 'small' : 'medium',
31324
31324
  sx: dense && {
31325
- padding: '0px',
31326
- paddingLeft: '6px'
31325
+ padding: '0px 0px 0px 12px'
31327
31326
  }
31328
31327
  });
31329
31328
  }
@@ -31672,7 +31671,8 @@
31672
31671
  borderColor: '#BFE5D0'
31673
31672
  },
31674
31673
  ["& .".concat(classes$a.excludedTextWithCheckbox)]: {
31675
- color: '#828282'
31674
+ color: '#828282',
31675
+ fontStyle: 'italic'
31676
31676
  }
31677
31677
  };
31678
31678
  });
@@ -33410,15 +33410,14 @@
33410
33410
 
33411
33411
  const PREFIX$6 = 'MultiState';
33412
33412
  const classes$6 = {
33413
- item: "".concat(PREFIX$6, "-item"),
33414
- badge: "".concat(PREFIX$6, "-badge")
33413
+ item: "".concat(PREFIX$6, "-item")
33415
33414
  };
33416
- const StyledListBoxPopover = styled(ListBoxPopover)(_ref => {
33415
+ const StyledGrid$5 = styled(Grid)(_ref => {
33417
33416
  let {
33418
33417
  theme
33419
33418
  } = _ref;
33420
33419
  return {
33421
- ["& .".concat(classes$6.item)]: {
33420
+ ["&.".concat(classes$6.item)]: {
33422
33421
  backgroundColor: theme.palette.background.paper,
33423
33422
  position: 'relative',
33424
33423
  cursor: 'pointer',
@@ -33428,9 +33427,6 @@
33428
33427
  },
33429
33428
  height: '100%',
33430
33429
  alignItems: 'center'
33431
- },
33432
- ["& .".concat(classes$6.badge)]: {
33433
- padding: theme.spacing(0, 1)
33434
33430
  }
33435
33431
  };
33436
33432
  });
@@ -33489,7 +33485,9 @@
33489
33485
  xs: true,
33490
33486
  zeroMinWidth: true
33491
33487
  }, /*#__PURE__*/React.createElement(Badge, {
33492
- className: classes$6.badge,
33488
+ style: {
33489
+ padding: '0px 8px'
33490
+ },
33493
33491
  color: "secondary",
33494
33492
  badgeContent: field.states.length
33495
33493
  }, /*#__PURE__*/React.createElement(Typography, {
@@ -33559,12 +33557,12 @@
33559
33557
  }
33560
33558
  }
33561
33559
  }, Fields);
33562
- const Component = moreAlignTo ? PopoverFields : /*#__PURE__*/React.createElement(Grid, {
33560
+ const Component = moreAlignTo ? PopoverFields : /*#__PURE__*/React.createElement(StyledGrid$5, {
33563
33561
  container: true,
33564
33562
  gap: 0,
33565
33563
  className: classes$6.item,
33566
33564
  onClick: handleShowFields
33567
- }, Header, showFields && PopoverFields, showStateIx > -1 && /*#__PURE__*/React.createElement(StyledListBoxPopover, {
33565
+ }, Header, showFields && PopoverFields, showStateIx > -1 && /*#__PURE__*/React.createElement(ListBoxPopover, {
33568
33566
  alignTo: alignTo,
33569
33567
  show: showStateIx > -1,
33570
33568
  close: handleCloseShowState,
@@ -33572,7 +33570,7 @@
33572
33570
  fieldName: field.selections[showStateIx].qField,
33573
33571
  stateName: field.states[showStateIx]
33574
33572
  }));
33575
- return moreAlignTo && showStateIx > -1 ? /*#__PURE__*/React.createElement(StyledListBoxPopover, {
33573
+ return moreAlignTo && showStateIx > -1 ? /*#__PURE__*/React.createElement(ListBoxPopover, {
33576
33574
  alignTo: alignTo,
33577
33575
  show: showStateIx > -1,
33578
33576
  close: handleCloseShowState,
@@ -42427,7 +42425,7 @@
42427
42425
  var enigmaMocker_dev = {exports: {}};
42428
42426
 
42429
42427
  /*
42430
- * @nebula.js/enigma-mocker v2.11.0
42428
+ * @nebula.js/enigma-mocker v3.0.0-alpha0
42431
42429
  * Copyright (c) 2022 QlikTech International AB
42432
42430
  * Released under the MIT license.
42433
42431
  */