@revturbine/sdk 0.2.58 → 0.2.59
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/headless.d.ts +9 -0
- package/dist/headless.js +2 -2
- package/dist/headless.js.map +1 -1
- package/dist/index.d.ts +20 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/web-sdk/placements/PlacementRenderer.d.ts +7 -1
- package/dist/types/web-sdk/placements/PlacementRenderer.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/slots/BannerSlot.d.ts +1 -1
- package/dist/types/web-sdk/placements/slots/BannerSlot.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/slots/ModalSlot.d.ts +1 -1
- package/dist/types/web-sdk/placements/slots/ModalSlot.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/slots/ToastSlot.d.ts +1 -1
- package/dist/types/web-sdk/placements/slots/ToastSlot.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/slots/TooltipSlot.d.ts +1 -1
- package/dist/types/web-sdk/placements/slots/TooltipSlot.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/types.d.ts +9 -0
- package/dist/types/web-sdk/placements/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/headless.d.ts
CHANGED
|
@@ -11131,6 +11131,15 @@ interface PlacementSlotProps<C extends ResolvedContent = ResolvedContent> {
|
|
|
11131
11131
|
onSecondaryCtaClick?: () => void;
|
|
11132
11132
|
/** Callback when user dismisses the placement. */
|
|
11133
11133
|
onDismiss: () => void;
|
|
11134
|
+
/**
|
|
11135
|
+
* Optional callback when the user chooses "Remind me later" (defer). When
|
|
11136
|
+
* provided, dismissible slots render a defer control beside dismiss; the
|
|
11137
|
+
* placement re-queues and reappears after the remind-later window
|
|
11138
|
+
* (`remind_later_minutes`, default 60) rather than the longer dismiss
|
|
11139
|
+
* cooldown (plan 167 REQ-7). **Additive and optional** — omit it and slots
|
|
11140
|
+
* render exactly as before, with no defer control.
|
|
11141
|
+
*/
|
|
11142
|
+
onRemindLater?: () => void;
|
|
11134
11143
|
/** Whether the placement is currently visible. */
|
|
11135
11144
|
visible: boolean;
|
|
11136
11145
|
/** Custom CSS class name for styling overrides. */
|