pcm-shared-components 0.0.251 → 0.0.252

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.
@@ -28,7 +28,7 @@ const platformPricingIcons = [mdiShimmer, mdiFire, mdiTorch];
28
28
 
29
29
  export const PlatformPaymentPlans = props => {
30
30
  const {
31
- currentlySelectedPlatformPlanId,
31
+ currentlySelectedPlatformPricingModelId,
32
32
  selectPlatformButtonLabel,
33
33
  showSelectPlatformButton,
34
34
  platformPlanFeatures,
@@ -159,7 +159,7 @@ export const PlatformPaymentPlans = props => {
159
159
  i18next: i18next
160
160
  }, props)), showSelectPlatformButton && /*#__PURE__*/React.createElement("div", {
161
161
  className: "w-full text-center mt-24"
162
- }, Number(currentlySelectedPlatformPlanId) === Number(id) ? /*#__PURE__*/React.createElement(Button, {
162
+ }, Number(currentlySelectedPlatformPricingModelId) === Number(id) ? /*#__PURE__*/React.createElement(Button, {
163
163
  className: "max-w-min whitespace-nowrap m-auto font-900",
164
164
  variant: "contained",
165
165
  disabled: true,
@@ -231,7 +231,7 @@ export const PlatformPaymentPlans = props => {
231
231
  };
232
232
  export default PlatformPaymentPlans;
233
233
  PlatformPaymentPlans.defaultProps = {
234
- currentlySelectedPlatformPlanId: -1,
234
+ currentlySelectedPlatformPricingModelId: -1,
235
235
  selectPlatformButtonLabel: undefined,
236
236
  showSelectPlatformButton: true,
237
237
  platformPlanFeatures: [],
@@ -243,7 +243,7 @@ PlatformPaymentPlans.defaultProps = {
243
243
  };
244
244
  PlatformPaymentPlans.propTypes = {
245
245
  /** This is the current plan that is being used by the campground. The platform button won't be enable and the text on the button will say Current so the user knows on which plan they currently are on. */
246
- currentlySelectedPlatformPlanId: PropTypes.any,
246
+ currentlySelectedPlatformPricingModelId: PropTypes.any,
247
247
 
248
248
  /** This is the label that appears on the select platform button */
249
249
  selectPlatformButtonLabel: PropTypes.string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "0.0.251",
3
+ "version": "0.0.252",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {