@pelcro/react-pelcro-js 4.0.0-alpha.113 → 4.0.0-alpha.114

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
@@ -26493,9 +26493,7 @@ class SelectModal extends React.Component {
26493
26493
  "data-key": plan.id,
26494
26494
  onClick: e => {
26495
26495
  this.selectPlan(e, false);
26496
- if (itemsArray.some(item => (item === null || item === void 0 ? void 0 : item.id) === this.state.itemId)) {
26497
- this.props.setItem(this.state.itemId);
26498
- }
26496
+ this.props.setItem(this.state.itemId);
26499
26497
  }
26500
26498
  }, this.locale("buttons.select")), !disableGifting && /*#__PURE__*/React__default['default'].createElement("button", {
26501
26499
  className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-sm plc-border-primary focus:plc-outline-none plc-text-primary plc-bg-white hover:plc-border-primary-600 hover:plc-text-primary-600 hover:plc-shadow-sm plc-transition-all`,
package/dist/index.esm.js CHANGED
@@ -26451,9 +26451,7 @@ class SelectModal extends Component {
26451
26451
  "data-key": plan.id,
26452
26452
  onClick: e => {
26453
26453
  this.selectPlan(e, false);
26454
- if (itemsArray.some(item => (item === null || item === void 0 ? void 0 : item.id) === this.state.itemId)) {
26455
- this.props.setItem(this.state.itemId);
26456
- }
26454
+ this.props.setItem(this.state.itemId);
26457
26455
  }
26458
26456
  }, this.locale("buttons.select")), !disableGifting && /*#__PURE__*/React__default.createElement("button", {
26459
26457
  className: `plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-sm plc-border-primary focus:plc-outline-none plc-text-primary plc-bg-white hover:plc-border-primary-600 hover:plc-text-primary-600 hover:plc-shadow-sm plc-transition-all`,
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": "4.0.0-alpha.113",
4
+ "version": "4.0.0-alpha.114",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",