@pelcro/react-pelcro-js 3.1.0-beta.4 → 3.1.0-beta.7

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
@@ -13979,7 +13979,7 @@ const PaymentMethodContainerWithoutStripe = ({
13979
13979
  return stripe.createSource({
13980
13980
  type: "three_d_secure",
13981
13981
  amount: totalAmount,
13982
- currency: (plan === null || plan === void 0 ? void 0 : plan.currency) || window.Pelcro.site.read().default_currency,
13982
+ currency: (plan === null || plan === void 0 ? void 0 : plan.currency) || (invoice === null || invoice === void 0 ? void 0 : invoice.currency) || window.Pelcro.site.read().default_currency,
13983
13983
  three_d_secure: {
13984
13984
  card: source === null || source === void 0 ? void 0 : source.id
13985
13985
  },
@@ -22665,7 +22665,9 @@ class Dashboard extends React.Component {
22665
22665
  className: "plc-inline-block plc-mt-1 plc-underline"
22666
22666
  }, this.getSubscriptionStatus(recipient).content))), recipient.cancel_at_period_end === 1 && /*#__PURE__*/React__default['default'].createElement("td", null, /*#__PURE__*/React__default['default'].createElement(Button, {
22667
22667
  variant: "ghost",
22668
- icon: /*#__PURE__*/React__default['default'].createElement(SvgRefresh, null),
22668
+ icon: /*#__PURE__*/React__default['default'].createElement(SvgRefresh, {
22669
+ className: "plc-w-4 plc-h-4"
22670
+ }),
22669
22671
  className: "plc-text-blue-400",
22670
22672
  onClick: onRenewClick,
22671
22673
  disabled: this.state.disableSubmit,
package/dist/index.esm.js CHANGED
@@ -13949,7 +13949,7 @@ const PaymentMethodContainerWithoutStripe = ({
13949
13949
  return stripe.createSource({
13950
13950
  type: "three_d_secure",
13951
13951
  amount: totalAmount,
13952
- currency: (plan === null || plan === void 0 ? void 0 : plan.currency) || window.Pelcro.site.read().default_currency,
13952
+ currency: (plan === null || plan === void 0 ? void 0 : plan.currency) || (invoice === null || invoice === void 0 ? void 0 : invoice.currency) || window.Pelcro.site.read().default_currency,
13953
13953
  three_d_secure: {
13954
13954
  card: source === null || source === void 0 ? void 0 : source.id
13955
13955
  },
@@ -22635,7 +22635,9 @@ class Dashboard extends Component {
22635
22635
  className: "plc-inline-block plc-mt-1 plc-underline"
22636
22636
  }, this.getSubscriptionStatus(recipient).content))), recipient.cancel_at_period_end === 1 && /*#__PURE__*/React__default.createElement("td", null, /*#__PURE__*/React__default.createElement(Button, {
22637
22637
  variant: "ghost",
22638
- icon: /*#__PURE__*/React__default.createElement(SvgRefresh, null),
22638
+ icon: /*#__PURE__*/React__default.createElement(SvgRefresh, {
22639
+ className: "plc-w-4 plc-h-4"
22640
+ }),
22639
22641
  className: "plc-text-blue-400",
22640
22642
  onClick: onRenewClick,
22641
22643
  disabled: this.state.disableSubmit,
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.1.0-beta.4",
4
+ "version": "3.1.0-beta.7",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",