web-push-notifications 3.69.0 → 3.71.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/CHANGELOG.md +26 -0
- package/core/Pushwoosh.d.ts +10 -1
- package/core/Pushwoosh.types.d.ts +5 -0
- package/npm.js +1 -1
- package/npm.js.map +1 -1
- package/package.json +1 -1
- package/pushwoosh-web-notifications.d.ts +1 -0
- package/pushwoosh-widget-inbox.d.ts +1 -0
- package/pushwoosh-widget-subscribe-popup.d.ts +1 -0
- package/pushwoosh-widget-subscription-button.d.ts +1 -0
- package/pushwoosh-widget-subscription-prompt.d.ts +1 -0
- package/pushwoosh-widget-web-popups.d.ts +1 -0
- package/service-worker.js +1 -1
- package/widget-subscribe-popup.js +1 -1
- package/widget-subscribe-popup.js.map +1 -1
- package/widget-subscription-button.js +1 -1
- package/widget-subscription-button.js.map +1 -1
- package/widget-subscription-prompt.js +1 -1
- package/widget-subscription-prompt.js.map +1 -1
- package/widget-web-popups.js +1 -1
- package/widget-web-popups.js.map +1 -1
- package/widgets/WebPopups/types.d.ts +5 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type WebPopupColorSchemePref, type WebPopupParams } from 'smart-blocks-utils';
|
|
2
2
|
export type IWebPopupsConfig = {
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* `false` turns the widget off entirely: the bundle is never loaded. Defaults
|
|
5
|
+
* to `true`, so web popups run unless the site opts out.
|
|
6
|
+
*/
|
|
7
|
+
enable?: boolean;
|
|
4
8
|
/** Which palette a dark-mode popup renders with; 'auto' (default) = the
|
|
5
9
|
* visitor's OS setting, which a site with its own theme can override here. */
|
|
6
10
|
colorScheme?: WebPopupColorSchemePref;
|