@molecule/app-pricing-page-svelte 1.1.0 → 1.1.1

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.
@@ -46,7 +46,7 @@
46
46
  class={cm.button({ variant: 'solid', size: 'md' })}
47
47
  data-mol-id="plan-updated-cta"
48
48
  >
49
- {#if typeof ctaLabel === 'string'}{ctaLabel}{:else}{@render ctaLabel()}{/if}
49
+ {#if typeof ctaLabel === 'string'}{ctaLabel}{:else}{@render ctaLabel?.()}{/if}
50
50
  </a>
51
51
  {:else}
52
52
  <button
@@ -55,7 +55,7 @@
55
55
  onclick={(event) => onCta?.(event)}
56
56
  data-mol-id="plan-updated-cta"
57
57
  >
58
- {#if typeof ctaLabel === 'string'}{ctaLabel}{:else}{@render ctaLabel()}{/if}
58
+ {#if typeof ctaLabel === 'string'}{ctaLabel}{:else}{@render ctaLabel?.()}{/if}
59
59
  </button>
60
60
  {/if}
61
61
  </footer>
@@ -138,7 +138,7 @@
138
138
  </header>
139
139
  <div class={cm.cardContent}>
140
140
  {#if renderLimits}
141
- {@render renderLimits(tier.limits)}
141
+ {@render renderLimits?.(tier.limits)}
142
142
  {:else}
143
143
  {@render limitsList(tier.limits)}
144
144
  {/if}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-pricing-page-svelte",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Standalone public pricing page — tier cards, period toggle, checkout handoff (distinct from billing-react's PricingPage)",
5
5
  "homepage": "https://www.molecule.dev/packages/app-pricing-page-svelte",
6
6
  "type": "module",
@@ -58,18 +58,18 @@
58
58
  "svelte": "^5.0.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@molecule/app-billing-svelte": "1.1.0",
61
+ "@molecule/app-billing-svelte": "1.1.1",
62
62
  "@molecule/app-framework-conformance": "0.0.0",
63
63
  "@molecule/app-i18n": "1.2.2",
64
64
  "@molecule/app-icons": "1.0.4",
65
- "@molecule/app-subscription-plan-card-svelte": "1.1.0",
66
- "@molecule/app-svelte": "3.9.0",
65
+ "@molecule/app-subscription-plan-card-svelte": "1.1.1",
66
+ "@molecule/app-svelte": "3.13.0",
67
67
  "@molecule/app-ui": "1.5.0",
68
- "@molecule/app-ui-svelte": "1.2.1",
68
+ "@molecule/app-ui-svelte": "1.4.1",
69
69
  "@sveltejs/package": "3.0.2",
70
70
  "@sveltejs/vite-plugin-svelte": "7.1.2",
71
71
  "@types/node": "26.6.5",
72
- "jsdom": "30.1.3",
72
+ "jsdom": "31.0.1",
73
73
  "svelte": "5.57.2",
74
74
  "svelte-check": "4.7.7",
75
75
  "typescript": "6.0.3",