@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.
package/core/esm/dev.js CHANGED
@@ -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
  */
@@ -11424,7 +11424,7 @@ function create$3(definition) {
11424
11424
  return cache[key];
11425
11425
  }
11426
11426
 
11427
- const NEBULA_VERSION_HASH = "30d9" ;
11427
+ const NEBULA_VERSION_HASH = "4ced" ;
11428
11428
  ClassNameGenerator.configure(componentName => {
11429
11429
 
11430
11430
  return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
@@ -11997,7 +11997,7 @@ function boot(_ref2) {
11997
11997
  const appRef = React__default.createRef();
11998
11998
  const element = document.createElement('div');
11999
11999
  element.style.display = 'none';
12000
- element.setAttribute('data-nebulajs-version', "3.0.0-alpha0" );
12000
+ element.setAttribute('data-nebulajs-version', "3.0.0-alpha1" );
12001
12001
  element.setAttribute('data-app-id', app.id);
12002
12002
  document.body.appendChild(element);
12003
12003
  ReactDOM.render( /*#__PURE__*/React__default.createElement(NebulaApp, {
@@ -13628,8 +13628,7 @@ function ListBoxRadioButton(_ref) {
13628
13628
  disableRipple: true,
13629
13629
  size: dense ? 'small' : 'medium',
13630
13630
  sx: dense && {
13631
- padding: '0px',
13632
- paddingLeft: '6px'
13631
+ padding: '0px 0px 0px 12px'
13633
13632
  }
13634
13633
  });
13635
13634
  }
@@ -13978,7 +13977,8 @@ const Root$1 = styled('div')(_ref2 => {
13978
13977
  borderColor: '#BFE5D0'
13979
13978
  },
13980
13979
  ["& .".concat(classes$a.excludedTextWithCheckbox)]: {
13981
- color: '#828282'
13980
+ color: '#828282',
13981
+ fontStyle: 'italic'
13982
13982
  }
13983
13983
  };
13984
13984
  });
@@ -15716,15 +15716,14 @@ var DownArrow = (props => SvgIcon(downArrow(props)));
15716
15716
 
15717
15717
  const PREFIX$6 = 'MultiState';
15718
15718
  const classes$6 = {
15719
- item: "".concat(PREFIX$6, "-item"),
15720
- badge: "".concat(PREFIX$6, "-badge")
15719
+ item: "".concat(PREFIX$6, "-item")
15721
15720
  };
15722
- const StyledListBoxPopover = styled(ListBoxPopover)(_ref => {
15721
+ const StyledGrid$5 = styled(Grid)(_ref => {
15723
15722
  let {
15724
15723
  theme
15725
15724
  } = _ref;
15726
15725
  return {
15727
- ["& .".concat(classes$6.item)]: {
15726
+ ["&.".concat(classes$6.item)]: {
15728
15727
  backgroundColor: theme.palette.background.paper,
15729
15728
  position: 'relative',
15730
15729
  cursor: 'pointer',
@@ -15734,9 +15733,6 @@ const StyledListBoxPopover = styled(ListBoxPopover)(_ref => {
15734
15733
  },
15735
15734
  height: '100%',
15736
15735
  alignItems: 'center'
15737
- },
15738
- ["& .".concat(classes$6.badge)]: {
15739
- padding: theme.spacing(0, 1)
15740
15736
  }
15741
15737
  };
15742
15738
  });
@@ -15795,7 +15791,9 @@ function MultiState(_ref2) {
15795
15791
  xs: true,
15796
15792
  zeroMinWidth: true
15797
15793
  }, /*#__PURE__*/React__default.createElement(Badge, {
15798
- className: classes$6.badge,
15794
+ style: {
15795
+ padding: '0px 8px'
15796
+ },
15799
15797
  color: "secondary",
15800
15798
  badgeContent: field.states.length
15801
15799
  }, /*#__PURE__*/React__default.createElement(Typography, {
@@ -15865,12 +15863,12 @@ function MultiState(_ref2) {
15865
15863
  }
15866
15864
  }
15867
15865
  }, Fields);
15868
- const Component = moreAlignTo ? PopoverFields : /*#__PURE__*/React__default.createElement(Grid, {
15866
+ const Component = moreAlignTo ? PopoverFields : /*#__PURE__*/React__default.createElement(StyledGrid$5, {
15869
15867
  container: true,
15870
15868
  gap: 0,
15871
15869
  className: classes$6.item,
15872
15870
  onClick: handleShowFields
15873
- }, Header, showFields && PopoverFields, showStateIx > -1 && /*#__PURE__*/React__default.createElement(StyledListBoxPopover, {
15871
+ }, Header, showFields && PopoverFields, showStateIx > -1 && /*#__PURE__*/React__default.createElement(ListBoxPopover, {
15874
15872
  alignTo: alignTo,
15875
15873
  show: showStateIx > -1,
15876
15874
  close: handleCloseShowState,
@@ -15878,7 +15876,7 @@ function MultiState(_ref2) {
15878
15876
  fieldName: field.selections[showStateIx].qField,
15879
15877
  stateName: field.states[showStateIx]
15880
15878
  }));
15881
- return moreAlignTo && showStateIx > -1 ? /*#__PURE__*/React__default.createElement(StyledListBoxPopover, {
15879
+ return moreAlignTo && showStateIx > -1 ? /*#__PURE__*/React__default.createElement(ListBoxPopover, {
15882
15880
  alignTo: alignTo,
15883
15881
  show: showStateIx > -1,
15884
15882
  close: handleCloseShowState,
@@ -24733,7 +24731,7 @@ var enigmaMocker = {exports: {}};
24733
24731
  var enigmaMocker_dev = {exports: {}};
24734
24732
 
24735
24733
  /*
24736
- * @nebula.js/enigma-mocker v2.11.0
24734
+ * @nebula.js/enigma-mocker v3.0.0-alpha0
24737
24735
  * Copyright (c) 2022 QlikTech International AB
24738
24736
  * Released under the MIT license.
24739
24737
  */