@sesamy/sesamy-components 2.15.0 → 2.16.0
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/README.md +8 -1
- package/dist/lib/sesamy-components.es.js +3774 -3655
- package/dist/lib/sesamy-components.umd.js +12 -11
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -183,7 +183,12 @@ A web component that displays a paywall for content, loading paywall settings fr
|
|
|
183
183
|
- `utm-source`, `utm-medium`, `utm-campaign`, `utm-term`, `utm-content`: UTM parameters for tracking
|
|
184
184
|
- `pass`: Pass ID for access
|
|
185
185
|
|
|
186
|
-
**
|
|
186
|
+
**Events:**
|
|
187
|
+
|
|
188
|
+
- `sesamyPaywallAccessChecked`: Emitted after access check, with `{ hasAccess, paywallId, articleUrl, passes }` in `detail`.
|
|
189
|
+
- `sesamyPaywallProductSelected`: Emitted when a product/subscription is selected and the continue button is pressed, with `{ product, checkoutId, paywallId }` in `detail`.
|
|
190
|
+
- `sesamyPaywallCheckoutRedirect`: Emitted before redirecting to checkout, with `{ checkout, paywallId, paymentMethod }` in `detail`.
|
|
191
|
+
**Slots:**
|
|
187
192
|
|
|
188
193
|
- `below-headline`: Content rendered below the paywall headline (e.g., additional info, custom elements)
|
|
189
194
|
- `features`: Content rendered in the features section of the paywall (e.g., feature list, benefits)
|
|
@@ -198,7 +203,9 @@ A web component that displays a paywall for content, loading paywall settings fr
|
|
|
198
203
|
price="99"
|
|
199
204
|
currency="USD"
|
|
200
205
|
>
|
|
206
|
+
<<<<<<< HEAD =======
|
|
201
207
|
<div slot="features">✔️ Unlimited access<br />✔️ Cancel anytime</div>
|
|
208
|
+
>>>>>>> main
|
|
202
209
|
</sesamy-paywall>
|
|
203
210
|
|
|
204
211
|
<!-- Login paywall with below-headline slot -->
|