@arquimedes.co/eureka-forms 1.9.96-test → 1.9.98-test

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.
@@ -19,7 +19,9 @@ function ListMapperElement(_a) {
19
19
  var calcName = (customElementModifiers !== null && customElementModifiers !== void 0 ? customElementModifiers : {}).calcName;
20
20
  var name = calcName
21
21
  ? calcName(element)
22
- : step.unitLabel + ' ' + (num + 1);
22
+ : step.unitLabel
23
+ ? step.unitLabel + ' ' + (num + 1)
24
+ : '';
23
25
  return (_jsxs("div", __assign({ className: widthStats.isMobile ? styles.mobileContainer : styles.container }, { children: [_jsx("div", __assign({ className: styles.bulletContainer, style: {
24
26
  height: name ? 28 : 40,
25
27
  } }, { children: _jsx("div", { className: styles.bullet, style: {
@@ -132,7 +132,7 @@ export function ElementsComponent(_a) {
132
132
  };
133
133
  if (step.style.type === MapperStyleTypes.INLINE)
134
134
  return _jsx(React.Fragment, { children: mapElements() });
135
- return (_jsxs("div", __assign({ className: container, style: { color: formStyle.textColor } }, { children: [_jsx("div", __assign({ className: styles.titleLbl }, { children: step.label })), step.description && (_jsx("p", __assign({ className: styles.descriptionPar, style: {
135
+ return (_jsxs("div", __assign({ className: container, style: { color: formStyle.textColor } }, { children: [step.label && _jsx("div", __assign({ className: styles.titleLbl }, { children: step.label })), step.description && (_jsx("p", __assign({ className: styles.descriptionPar, style: {
136
136
  margin: step.description
137
137
  ? '10px 0px'
138
138
  : '0px 0px 5px 0px',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"1.9.96-test",
4
+ "version":"1.9.98-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",