@pelcro/react-pelcro-js 3.4.1-beta.1 → 3.4.1-beta.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/dist/index.cjs.js CHANGED
@@ -12523,7 +12523,7 @@ class SelectModal extends React.Component {
12523
12523
  }
12524
12524
  }
12525
12525
 
12526
- return `${startingPlan.amount_formatted}/${startingPlan.interval}`;
12526
+ return `${startingPlan.amount_formatted}/${startingPlan.interval_count > 1 ? `${startingPlan.interval_count} ` : ""}${startingPlan.interval}`;
12527
12527
  });
12528
12528
 
12529
12529
  _defineProperty$3(this, "renderOneProduct", (product, index, options) => {
@@ -12549,7 +12549,7 @@ class SelectModal extends React.Component {
12549
12549
  className: "plc-flex plc-items-end plc-w-full plc-mt-3"
12550
12550
  }, product.plans && /*#__PURE__*/React__default['default'].createElement("p", {
12551
12551
  className: "plc-w-1/2 plc-text-xs pelcro-select-product-cost"
12552
- }, this.locale("labels.startingAt"), " ", this.countStartPrice(product.plans)), /*#__PURE__*/React__default['default'].createElement(Button, Object.assign({
12552
+ }, this.locale("labels.startingAt"), " ", this.countStartPrice(product.plans), console.log(product)), /*#__PURE__*/React__default['default'].createElement(Button, Object.assign({
12553
12553
  onClick: productButtonCallback,
12554
12554
  "data-key": product.id,
12555
12555
  id: "pelcro-select-product-back-button",
package/dist/index.esm.js CHANGED
@@ -12493,7 +12493,7 @@ class SelectModal extends Component {
12493
12493
  }
12494
12494
  }
12495
12495
 
12496
- return `${startingPlan.amount_formatted}/${startingPlan.interval}`;
12496
+ return `${startingPlan.amount_formatted}/${startingPlan.interval_count > 1 ? `${startingPlan.interval_count} ` : ""}${startingPlan.interval}`;
12497
12497
  });
12498
12498
 
12499
12499
  _defineProperty$3(this, "renderOneProduct", (product, index, options) => {
@@ -12519,7 +12519,7 @@ class SelectModal extends Component {
12519
12519
  className: "plc-flex plc-items-end plc-w-full plc-mt-3"
12520
12520
  }, product.plans && /*#__PURE__*/React__default.createElement("p", {
12521
12521
  className: "plc-w-1/2 plc-text-xs pelcro-select-product-cost"
12522
- }, this.locale("labels.startingAt"), " ", this.countStartPrice(product.plans)), /*#__PURE__*/React__default.createElement(Button, Object.assign({
12522
+ }, this.locale("labels.startingAt"), " ", this.countStartPrice(product.plans), console.log(product)), /*#__PURE__*/React__default.createElement(Button, Object.assign({
12523
12523
  onClick: productButtonCallback,
12524
12524
  "data-key": product.id,
12525
12525
  id: "pelcro-select-product-back-button",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.4.1-beta.1",
4
+ "version": "3.4.1-beta.2",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",