@stokr/components-library 2.3.67 → 2.3.68
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/analytics/index.js +7 -6
- package/dist/index.js +1 -12
- package/package.json +1 -2
- package/dist/index.js.map +0 -1
- package/dist/index.umd.cjs +0 -10371
- package/dist/index.umd.cjs.map +0 -1
package/dist/analytics/index.js
CHANGED
|
@@ -67,7 +67,8 @@ function initAnalytics() {
|
|
|
67
67
|
let {
|
|
68
68
|
token,
|
|
69
69
|
app,
|
|
70
|
-
requireConsent = false
|
|
70
|
+
requireConsent = false,
|
|
71
|
+
scroll = true
|
|
71
72
|
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
72
73
|
if (initialized) return;
|
|
73
74
|
if (!token) return;
|
|
@@ -75,13 +76,13 @@ function initAnalytics() {
|
|
|
75
76
|
api_host: 'https://api-eu.mixpanel.com',
|
|
76
77
|
autocapture: {
|
|
77
78
|
pageview: 'full-url',
|
|
78
|
-
click:
|
|
79
|
-
dead_click:
|
|
80
|
-
input:
|
|
79
|
+
click: false,
|
|
80
|
+
dead_click: false,
|
|
81
|
+
input: false,
|
|
81
82
|
rage_click: true,
|
|
82
|
-
scroll
|
|
83
|
+
scroll,
|
|
83
84
|
submit: true,
|
|
84
|
-
capture_text_content: false
|
|
85
|
+
capture_text_content: false
|
|
85
86
|
},
|
|
86
87
|
record_sessions_percent: 100,
|
|
87
88
|
record_heatmap_data: true,
|
package/dist/index.js
CHANGED
|
@@ -1169,7 +1169,7 @@ Object.keys(_fixDecimals).forEach(function (key) {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
1171
1171
|
});
|
|
1172
|
-
var _analytics = require("./
|
|
1172
|
+
var _analytics = require("./analytics");
|
|
1173
1173
|
Object.keys(_analytics).forEach(function (key) {
|
|
1174
1174
|
if (key === "default" || key === "__esModule") return;
|
|
1175
1175
|
if (key in exports && exports[key] === _analytics[key]) return;
|
|
@@ -1180,17 +1180,6 @@ Object.keys(_analytics).forEach(function (key) {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
});
|
|
1182
1182
|
});
|
|
1183
|
-
var _analytics2 = require("./analytics");
|
|
1184
|
-
Object.keys(_analytics2).forEach(function (key) {
|
|
1185
|
-
if (key === "default" || key === "__esModule") return;
|
|
1186
|
-
if (key in exports && exports[key] === _analytics2[key]) return;
|
|
1187
|
-
Object.defineProperty(exports, key, {
|
|
1188
|
-
enumerable: true,
|
|
1189
|
-
get: function () {
|
|
1190
|
-
return _analytics2[key];
|
|
1191
|
-
}
|
|
1192
|
-
});
|
|
1193
|
-
});
|
|
1194
1183
|
var _formatCurrencyValue = require("./utils/formatCurrencyValue");
|
|
1195
1184
|
Object.keys(_formatCurrencyValue).forEach(function (key) {
|
|
1196
1185
|
if (key === "default" || key === "__esModule") return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stokr/components-library",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.68",
|
|
4
4
|
"description": "STOKR - Components Library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
"react-day-picker": "^9.11.1",
|
|
59
59
|
"react-device-detect": "^2.2.3",
|
|
60
60
|
"react-dom": "^18.3.1",
|
|
61
|
-
"react-ga4": "^2.1.0",
|
|
62
61
|
"react-helmet": "^6.1.0",
|
|
63
62
|
"react-otp-input": "^3.1.0",
|
|
64
63
|
"react-portal": "^4.2.2",
|