@redocly/theme 0.18.4 → 0.18.6
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/lib/config.d.ts +14 -140
- package/lib/config.js +3 -24
- package/package.json +3 -3
- package/src/config.ts +6 -26
package/lib/config.d.ts
CHANGED
|
@@ -202,15 +202,18 @@ declare const googleAnalyticsConfigSchema: {
|
|
|
202
202
|
readonly trackingId: {
|
|
203
203
|
readonly type: "string";
|
|
204
204
|
};
|
|
205
|
+
readonly conversionId: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
};
|
|
208
|
+
readonly floodlightId: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
};
|
|
205
211
|
readonly head: {
|
|
206
212
|
readonly type: "boolean";
|
|
207
213
|
};
|
|
208
214
|
readonly respectDNT: {
|
|
209
215
|
readonly type: "boolean";
|
|
210
216
|
};
|
|
211
|
-
readonly anonymize: {
|
|
212
|
-
readonly type: "boolean";
|
|
213
|
-
};
|
|
214
217
|
readonly exclude: {
|
|
215
218
|
readonly type: "array";
|
|
216
219
|
readonly items: {
|
|
@@ -220,78 +223,12 @@ declare const googleAnalyticsConfigSchema: {
|
|
|
220
223
|
readonly optimizeId: {
|
|
221
224
|
readonly type: "string";
|
|
222
225
|
};
|
|
223
|
-
readonly
|
|
224
|
-
readonly type: "string";
|
|
225
|
-
};
|
|
226
|
-
readonly variationId: {
|
|
227
|
-
readonly type: "string";
|
|
228
|
-
};
|
|
229
|
-
readonly enableWebVitalsTracking: {
|
|
230
|
-
readonly type: "boolean";
|
|
231
|
-
};
|
|
232
|
-
readonly defer: {
|
|
233
|
-
readonly type: "boolean";
|
|
234
|
-
};
|
|
235
|
-
readonly sampleRate: {
|
|
236
|
-
readonly type: "number";
|
|
237
|
-
};
|
|
238
|
-
readonly name: {
|
|
239
|
-
readonly type: "string";
|
|
240
|
-
};
|
|
241
|
-
readonly clientId: {
|
|
242
|
-
readonly type: "string";
|
|
243
|
-
};
|
|
244
|
-
readonly siteSpeedSampleRate: {
|
|
245
|
-
readonly type: "number";
|
|
246
|
-
};
|
|
247
|
-
readonly alwaysSendReferrer: {
|
|
248
|
-
readonly type: "boolean";
|
|
249
|
-
};
|
|
250
|
-
readonly allowAnchor: {
|
|
226
|
+
readonly anonymizeIp: {
|
|
251
227
|
readonly type: "boolean";
|
|
252
228
|
};
|
|
253
|
-
readonly cookieName: {
|
|
254
|
-
readonly type: "string";
|
|
255
|
-
};
|
|
256
|
-
readonly cookieFlags: {
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
};
|
|
259
|
-
readonly cookieDomain: {
|
|
260
|
-
readonly type: "string";
|
|
261
|
-
};
|
|
262
229
|
readonly cookieExpires: {
|
|
263
230
|
readonly type: "number";
|
|
264
231
|
};
|
|
265
|
-
readonly storeGac: {
|
|
266
|
-
readonly type: "boolean";
|
|
267
|
-
};
|
|
268
|
-
readonly legacyCookieDomain: {
|
|
269
|
-
readonly type: "string";
|
|
270
|
-
};
|
|
271
|
-
readonly legacyHistoryImport: {
|
|
272
|
-
readonly type: "boolean";
|
|
273
|
-
};
|
|
274
|
-
readonly allowLinker: {
|
|
275
|
-
readonly type: "boolean";
|
|
276
|
-
};
|
|
277
|
-
readonly storage: {
|
|
278
|
-
readonly type: "string";
|
|
279
|
-
};
|
|
280
|
-
readonly allowAdFeatures: {
|
|
281
|
-
readonly type: "boolean";
|
|
282
|
-
};
|
|
283
|
-
readonly dataSource: {
|
|
284
|
-
readonly type: "string";
|
|
285
|
-
};
|
|
286
|
-
readonly queueTime: {
|
|
287
|
-
readonly type: "number";
|
|
288
|
-
};
|
|
289
|
-
readonly forceSSL: {
|
|
290
|
-
readonly type: "boolean";
|
|
291
|
-
};
|
|
292
|
-
readonly transport: {
|
|
293
|
-
readonly type: "string";
|
|
294
|
-
};
|
|
295
232
|
};
|
|
296
233
|
readonly additionalProperties: false;
|
|
297
234
|
readonly required: readonly ["trackingId"];
|
|
@@ -1505,15 +1442,18 @@ export declare const themeConfigSchema: {
|
|
|
1505
1442
|
readonly trackingId: {
|
|
1506
1443
|
readonly type: "string";
|
|
1507
1444
|
};
|
|
1445
|
+
readonly conversionId: {
|
|
1446
|
+
readonly type: "string";
|
|
1447
|
+
};
|
|
1448
|
+
readonly floodlightId: {
|
|
1449
|
+
readonly type: "string";
|
|
1450
|
+
};
|
|
1508
1451
|
readonly head: {
|
|
1509
1452
|
readonly type: "boolean";
|
|
1510
1453
|
};
|
|
1511
1454
|
readonly respectDNT: {
|
|
1512
1455
|
readonly type: "boolean";
|
|
1513
1456
|
};
|
|
1514
|
-
readonly anonymize: {
|
|
1515
|
-
readonly type: "boolean";
|
|
1516
|
-
};
|
|
1517
1457
|
readonly exclude: {
|
|
1518
1458
|
readonly type: "array";
|
|
1519
1459
|
readonly items: {
|
|
@@ -1523,78 +1463,12 @@ export declare const themeConfigSchema: {
|
|
|
1523
1463
|
readonly optimizeId: {
|
|
1524
1464
|
readonly type: "string";
|
|
1525
1465
|
};
|
|
1526
|
-
readonly
|
|
1527
|
-
readonly type: "string";
|
|
1528
|
-
};
|
|
1529
|
-
readonly variationId: {
|
|
1530
|
-
readonly type: "string";
|
|
1531
|
-
};
|
|
1532
|
-
readonly enableWebVitalsTracking: {
|
|
1533
|
-
readonly type: "boolean";
|
|
1534
|
-
};
|
|
1535
|
-
readonly defer: {
|
|
1536
|
-
readonly type: "boolean";
|
|
1537
|
-
};
|
|
1538
|
-
readonly sampleRate: {
|
|
1539
|
-
readonly type: "number";
|
|
1540
|
-
};
|
|
1541
|
-
readonly name: {
|
|
1542
|
-
readonly type: "string";
|
|
1543
|
-
};
|
|
1544
|
-
readonly clientId: {
|
|
1545
|
-
readonly type: "string";
|
|
1546
|
-
};
|
|
1547
|
-
readonly siteSpeedSampleRate: {
|
|
1548
|
-
readonly type: "number";
|
|
1549
|
-
};
|
|
1550
|
-
readonly alwaysSendReferrer: {
|
|
1466
|
+
readonly anonymizeIp: {
|
|
1551
1467
|
readonly type: "boolean";
|
|
1552
1468
|
};
|
|
1553
|
-
readonly allowAnchor: {
|
|
1554
|
-
readonly type: "boolean";
|
|
1555
|
-
};
|
|
1556
|
-
readonly cookieName: {
|
|
1557
|
-
readonly type: "string";
|
|
1558
|
-
};
|
|
1559
|
-
readonly cookieFlags: {
|
|
1560
|
-
readonly type: "string";
|
|
1561
|
-
};
|
|
1562
|
-
readonly cookieDomain: {
|
|
1563
|
-
readonly type: "string";
|
|
1564
|
-
};
|
|
1565
1469
|
readonly cookieExpires: {
|
|
1566
1470
|
readonly type: "number";
|
|
1567
1471
|
};
|
|
1568
|
-
readonly storeGac: {
|
|
1569
|
-
readonly type: "boolean";
|
|
1570
|
-
};
|
|
1571
|
-
readonly legacyCookieDomain: {
|
|
1572
|
-
readonly type: "string";
|
|
1573
|
-
};
|
|
1574
|
-
readonly legacyHistoryImport: {
|
|
1575
|
-
readonly type: "boolean";
|
|
1576
|
-
};
|
|
1577
|
-
readonly allowLinker: {
|
|
1578
|
-
readonly type: "boolean";
|
|
1579
|
-
};
|
|
1580
|
-
readonly storage: {
|
|
1581
|
-
readonly type: "string";
|
|
1582
|
-
};
|
|
1583
|
-
readonly allowAdFeatures: {
|
|
1584
|
-
readonly type: "boolean";
|
|
1585
|
-
};
|
|
1586
|
-
readonly dataSource: {
|
|
1587
|
-
readonly type: "string";
|
|
1588
|
-
};
|
|
1589
|
-
readonly queueTime: {
|
|
1590
|
-
readonly type: "number";
|
|
1591
|
-
};
|
|
1592
|
-
readonly forceSSL: {
|
|
1593
|
-
readonly type: "boolean";
|
|
1594
|
-
};
|
|
1595
|
-
readonly transport: {
|
|
1596
|
-
readonly type: "string";
|
|
1597
|
-
};
|
|
1598
1472
|
};
|
|
1599
1473
|
readonly additionalProperties: false;
|
|
1600
1474
|
readonly required: readonly ["trackingId"];
|
package/lib/config.js
CHANGED
|
@@ -172,35 +172,14 @@ const googleAnalyticsConfigSchema = {
|
|
|
172
172
|
properties: {
|
|
173
173
|
includeInDevelopment: { type: 'boolean' },
|
|
174
174
|
trackingId: { type: 'string' },
|
|
175
|
+
conversionId: { type: 'string' },
|
|
176
|
+
floodlightId: { type: 'string' },
|
|
175
177
|
head: { type: 'boolean' },
|
|
176
178
|
respectDNT: { type: 'boolean' },
|
|
177
|
-
anonymize: { type: 'boolean' },
|
|
178
179
|
exclude: { type: 'array', items: { type: 'string' } },
|
|
179
180
|
optimizeId: { type: 'string' },
|
|
180
|
-
|
|
181
|
-
variationId: { type: 'string' },
|
|
182
|
-
enableWebVitalsTracking: { type: 'boolean' },
|
|
183
|
-
defer: { type: 'boolean' },
|
|
184
|
-
sampleRate: { type: 'number' },
|
|
185
|
-
name: { type: 'string' },
|
|
186
|
-
clientId: { type: 'string' },
|
|
187
|
-
siteSpeedSampleRate: { type: 'number' },
|
|
188
|
-
alwaysSendReferrer: { type: 'boolean' },
|
|
189
|
-
allowAnchor: { type: 'boolean' },
|
|
190
|
-
cookieName: { type: 'string' },
|
|
191
|
-
cookieFlags: { type: 'string' },
|
|
192
|
-
cookieDomain: { type: 'string' },
|
|
181
|
+
anonymizeIp: { type: 'boolean' },
|
|
193
182
|
cookieExpires: { type: 'number' },
|
|
194
|
-
storeGac: { type: 'boolean' },
|
|
195
|
-
legacyCookieDomain: { type: 'string' },
|
|
196
|
-
legacyHistoryImport: { type: 'boolean' },
|
|
197
|
-
allowLinker: { type: 'boolean' },
|
|
198
|
-
storage: { type: 'string' },
|
|
199
|
-
allowAdFeatures: { type: 'boolean' },
|
|
200
|
-
dataSource: { type: 'string' },
|
|
201
|
-
queueTime: { type: 'number' },
|
|
202
|
-
forceSSL: { type: 'boolean' },
|
|
203
|
-
transport: { type: 'string' },
|
|
204
183
|
},
|
|
205
184
|
additionalProperties: false,
|
|
206
185
|
required: ['trackingId'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/theme",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.6",
|
|
4
4
|
"description": "Shared UI components lib",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"react": "^17.0.2",
|
|
25
25
|
"react-dom": "^17.0.2",
|
|
26
26
|
"react-router-dom": "^6.10.0",
|
|
27
|
-
"styled-components": "^5.3.
|
|
27
|
+
"styled-components": "^5.3.7",
|
|
28
28
|
"styled-system": "^5.1.5"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"react-router-dom": "^6.10.0",
|
|
72
72
|
"storybook-addon-pseudo-states": "^1.15.1",
|
|
73
73
|
"storybook-design-token": "^2.9.0",
|
|
74
|
-
"styled-components": "^5.3.
|
|
74
|
+
"styled-components": "^5.3.7",
|
|
75
75
|
"styled-system": "^5.1.5",
|
|
76
76
|
"ts-jest": "^29.0.3",
|
|
77
77
|
"ts-node": "^10.7.0",
|
package/src/config.ts
CHANGED
|
@@ -197,37 +197,17 @@ const googleAnalyticsConfigSchema = {
|
|
|
197
197
|
properties: {
|
|
198
198
|
includeInDevelopment: { type: 'boolean' },
|
|
199
199
|
trackingId: { type: 'string' },
|
|
200
|
+
|
|
201
|
+
conversionId: { type: 'string' },
|
|
202
|
+
floodlightId: { type: 'string' },
|
|
203
|
+
|
|
200
204
|
head: { type: 'boolean' },
|
|
201
205
|
respectDNT: { type: 'boolean' },
|
|
202
|
-
anonymize: { type: 'boolean' },
|
|
203
206
|
exclude: { type: 'array', items: { type: 'string' } },
|
|
204
|
-
optimizeId: { type: 'string' },
|
|
205
|
-
experimentId: { type: 'string' },
|
|
206
|
-
variationId: { type: 'string' },
|
|
207
|
-
enableWebVitalsTracking: { type: 'boolean' },
|
|
208
207
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
name: { type: 'string' },
|
|
212
|
-
clientId: { type: 'string' },
|
|
213
|
-
siteSpeedSampleRate: { type: 'number' },
|
|
214
|
-
alwaysSendReferrer: { type: 'boolean' },
|
|
215
|
-
allowAnchor: { type: 'boolean' },
|
|
216
|
-
cookieName: { type: 'string' },
|
|
217
|
-
cookieFlags: { type: 'string' },
|
|
218
|
-
cookieDomain: { type: 'string' },
|
|
208
|
+
optimizeId: { type: 'string' },
|
|
209
|
+
anonymizeIp: { type: 'boolean' },
|
|
219
210
|
cookieExpires: { type: 'number' },
|
|
220
|
-
storeGac: { type: 'boolean' },
|
|
221
|
-
legacyCookieDomain: { type: 'string' },
|
|
222
|
-
legacyHistoryImport: { type: 'boolean' },
|
|
223
|
-
allowLinker: { type: 'boolean' },
|
|
224
|
-
storage: { type: 'string' },
|
|
225
|
-
|
|
226
|
-
allowAdFeatures: { type: 'boolean' },
|
|
227
|
-
dataSource: { type: 'string' },
|
|
228
|
-
queueTime: { type: 'number' },
|
|
229
|
-
forceSSL: { type: 'boolean' },
|
|
230
|
-
transport: { type: 'string' },
|
|
231
211
|
},
|
|
232
212
|
additionalProperties: false,
|
|
233
213
|
required: ['trackingId'],
|