@redsift/products 12.2.2-muiv7 → 12.2.3-muiv5
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/_internal/SignalCardSpfDomain.js +84 -24
- package/_internal/SignalCardSpfDomain.js.map +1 -1
- package/_internal/signal-cards.js +331 -114
- package/_internal/signal-cards.js.map +1 -1
- package/index.d.ts +14 -0
- package/package.json +7 -7
- package/radar.d.ts +150 -0
- package/signal-cards.d.ts +1651 -0
|
@@ -351,6 +351,7 @@ var enUS = {
|
|
|
351
351
|
"investigate.card.dmarc.align-spf-strict_md": "The spf alignment policy is [strict](SPF_ALIGNMENT#:glossary). With this policy, the SPF domain must exactly match the domain of the **Header From** address.",
|
|
352
352
|
"investigate.card.dmarc.dmarc-policy_md": "**[PERCENT {percent}%](PCT#:glossary)** of unauthorized emails will be subject to the **[{policy}](DMARC_POLICY#:glossary)** policy.",
|
|
353
353
|
"investigate.card.dmarc.dmarc-none-policy_md": "**[PERCENT {percent}%](PCT#:glossary)** of emails will be subject to the **[{policy}](DMARC_POLICY#:glossary)** policy.",
|
|
354
|
+
"investigate.card.dmarc.full-rejection_md": "**100%** of unauthorized emails will be **rejected**.",
|
|
354
355
|
"investigate.card.dmarc.policy-remaining-emails-pct_md": "The remaining **{remainingPercent}%** of unauthorized emails will **not be subject to policy enforcement** and will be delivered normally.",
|
|
355
356
|
"investigate.card.dmarc.no-policy_md": "**No [FULL](DMARC_POLICY#:glossary) published on domain**\n\n**`{policyDomain}`**",
|
|
356
357
|
"investigate.card.dmarc.dmarc-passed_md": "[](DMARC#:glossary) **passed**",
|
|
@@ -365,6 +366,7 @@ var enUS = {
|
|
|
365
366
|
"investigate.card.dmarc.setup-dmarc_md": "Please setup a DMARC record as described [here](https://community.redsift.com/s/article/000001195) to secure your email setup.",
|
|
366
367
|
"investigate.card.dmarc.dkim-passed_md": "**[](DKIM#:glossary) authentication passed.**",
|
|
367
368
|
"investigate.card.dmarc.dkim-failed_md": "**[](DKIM#:glossary) authentication failed.**",
|
|
369
|
+
"investigate.card.dmarc.dkim-none_md": "**[](DKIM#:glossary) authentication failed.**",
|
|
368
370
|
"investigate.card.dmarc.spf-passed_md": "**[](SPF#:glossary) authentication passed.**",
|
|
369
371
|
"investigate.card.dmarc.spf-failed_md": "**[](SPF#:glossary) authentication failed.**",
|
|
370
372
|
"investigate.card.dmarc.spf-no-spf_md": "No SPF configured for the domain.",
|
|
@@ -508,7 +510,7 @@ var enUS = {
|
|
|
508
510
|
"investigate.card.dkim.eval-error-validation-error_md": "**The signature verification failed.**",
|
|
509
511
|
"investigate.card.dkim.eval-error-validation-error_subtext_md": "This is the raw error:\n\n```{error}```",
|
|
510
512
|
"investigate.card.dkim.eval-error-record-not-found_md": "**A [](DKIM_SIGNATURE_HEADER#:glossary) is not present in your email.**",
|
|
511
|
-
"investigate.card.dkim.eval-error-record-not-found_subtext_md": "Please configure DKIM for your email sending service to start signing emails
|
|
513
|
+
"investigate.card.dkim.eval-error-record-not-found_subtext_md": "Please configure DKIM for your email sending service to start signing emails. Our [knowledge base](https://community.redsift.com/s/global-search/dkim) provides instructions to setup DKIM for many providers.",
|
|
512
514
|
"investigate.card.dkim.passed_md": "**[](DKIM#:glossary) evaluation passed.**",
|
|
513
515
|
"investigate.card.dkim.failed_md": "**[](DKIM#:glossary) evaluation failed.**",
|
|
514
516
|
"investigate.card.dkim.invalid_md": "**[](DKIM#:glossary) status is invalid.**",
|
|
@@ -1271,6 +1273,7 @@ var frFR = {
|
|
|
1271
1273
|
"investigate.card.dmarc.align-spf-relaxed_md": "La politique d'alignement spf est [relaxed](SPF_ALIGNMENT#:glossary). Avec cette politique, le domaine racine du domaine SPF doit correspondre au domaine racine de l'adresse **Header From**. L'utilisation de sous-domaines est autorisée.",
|
|
1272
1274
|
"investigate.card.dmarc.align-spf-strict_md": "La politique d'alignement spf est [strict](SPF_ALIGNMENT#:glossary). Avec cette politique, le domaine SPF doit correspondre exactement au domaine de l'adresse **Header From**.",
|
|
1273
1275
|
"investigate.card.dmarc.dmarc-policy_md": "**[PERCENT {percent}%](PCT#:glossary)** des courriels non autorisés seront soumis à la politique **[{policy}](DMARC_POLICY#:glossary)**.",
|
|
1276
|
+
"investigate.card.dmarc.full-rejection_md": "**100%** des courriels non autorisés seront **rejetés**.",
|
|
1274
1277
|
"investigate.card.dmarc.dmarc-none-policy_md": "**[PERCENT {percent}%](PCT#:glossary)** des courriels seront soumis à la politique **[{policy}](DMARC_POLICY#:glossary)**.",
|
|
1275
1278
|
"investigate.card.dmarc.policy-remaining-emails-pct_md": "Les **{remainingPercent}%** restants de courriels non autorisés **ne seront pas soumis à l'application de la politique** et seront livrés normalement.",
|
|
1276
1279
|
"investigate.card.dmarc.no-policy_md": "**Aucune [FULL](DMARC_POLICY#:glossary) publiée sur le domaine**\n\n**`{policyDomain}`**",
|
|
@@ -1286,6 +1289,7 @@ var frFR = {
|
|
|
1286
1289
|
"investigate.card.dmarc.setup-dmarc_md": "Veuillez configurer un enregistrement DMARC comme décrit [ici](https://community.redsift.com/s/article/000001195) pour sécuriser votre configuration de courrier électronique.",
|
|
1287
1290
|
"investigate.card.dmarc.dkim-passed_md": "**[](DKIM#:glossary) authentification réussie.**",
|
|
1288
1291
|
"investigate.card.dmarc.dkim-failed_md": "**[](DKIM#:glossary) authentification échouée.**",
|
|
1292
|
+
"investigate.card.dmarc.dkim-none_md": "**[](DKIM#:glossary) authentification échouée.**",
|
|
1289
1293
|
"investigate.card.dmarc.spf-passed_md": "**[](SPF#:glossary) authentification réussie.**",
|
|
1290
1294
|
"investigate.card.dmarc.spf-failed_md": "**[](SPF#:glossary) authentification échouée.**",
|
|
1291
1295
|
"investigate.card.dmarc.spf-no-spf_md": "Pas de SPF configuré pour le domaine.",
|
|
@@ -1430,7 +1434,7 @@ var frFR = {
|
|
|
1430
1434
|
"investigate.card.dkim.eval-error-validation-error_md": "**La vérification de la signature a échoué.",
|
|
1431
1435
|
"investigate.card.dkim.eval-error-validation-error_subtext_md": "Il s'agit de l'erreur brute :\n\n```{error}```",
|
|
1432
1436
|
"investigate.card.dkim.eval-error-record-not-found_md": "**Un [](DKIM_SIGNATURE_HEADER#:glossary) n'est pas présent dans votre email.**",
|
|
1433
|
-
"investigate.card.dkim.eval-error-record-not-found_subtext_md": "Veuillez configurer DKIM pour votre service d'envoi de courriels afin de commencer à signer les courriels
|
|
1437
|
+
"investigate.card.dkim.eval-error-record-not-found_subtext_md": "Veuillez configurer DKIM pour votre service d'envoi de courriels afin de commencer à signer les courriels. Notre [base de connaissances](https://community.redsift.com/s/global-search/dkim) fournit des instructions pour configurer DKIM pour de nombreux fournisseurs.",
|
|
1434
1438
|
"investigate.card.dkim.passed_md": "**[](DKIM#:glossary) évaluation réussie.**",
|
|
1435
1439
|
"investigate.card.dkim.failed_md": "**[](DKIM#:glossary) évaluation échouée.**",
|
|
1436
1440
|
"investigate.card.dkim.invalid_md": "**[](DKIM#:glossary) status is invalid.**",
|
|
@@ -5146,13 +5150,23 @@ const StyledChecklistContainer = styled.div`
|
|
|
5146
5150
|
const StyledInfoItem = styled.div`
|
|
5147
5151
|
display: flex;
|
|
5148
5152
|
flex-direction: column;
|
|
5149
|
-
gap:
|
|
5150
|
-
|
|
5153
|
+
gap: ${_ref4 => {
|
|
5154
|
+
let {
|
|
5155
|
+
$compact
|
|
5156
|
+
} = _ref4;
|
|
5157
|
+
return $compact ? '0' : '0.35rem';
|
|
5158
|
+
}};
|
|
5159
|
+
padding: ${_ref5 => {
|
|
5160
|
+
let {
|
|
5161
|
+
$compact
|
|
5162
|
+
} = _ref5;
|
|
5163
|
+
return $compact ? '0.1em 0.5em 0.1em 0' : '0.25em 1em 0.25em 0';
|
|
5164
|
+
}};
|
|
5151
5165
|
min-width: 0; /* Allow flex item to shrink */
|
|
5152
|
-
${
|
|
5166
|
+
${_ref6 => {
|
|
5153
5167
|
let {
|
|
5154
5168
|
$fluid
|
|
5155
|
-
} =
|
|
5169
|
+
} = _ref6;
|
|
5156
5170
|
return $fluid ? css`
|
|
5157
5171
|
flex: 1 1 200px;
|
|
5158
5172
|
` : '';
|
|
@@ -5160,11 +5174,26 @@ const StyledInfoItem = styled.div`
|
|
|
5160
5174
|
`;
|
|
5161
5175
|
const StyledItemText = styled.div`
|
|
5162
5176
|
display: flex;
|
|
5163
|
-
align-items:
|
|
5164
|
-
|
|
5177
|
+
align-items: ${_ref7 => {
|
|
5178
|
+
let {
|
|
5179
|
+
$compact
|
|
5180
|
+
} = _ref7;
|
|
5181
|
+
return $compact ? 'center' : 'flex-start';
|
|
5182
|
+
}};
|
|
5183
|
+
gap: ${_ref8 => {
|
|
5184
|
+
let {
|
|
5185
|
+
$compact
|
|
5186
|
+
} = _ref8;
|
|
5187
|
+
return $compact ? '0.5rem' : '0.75rem';
|
|
5188
|
+
}};
|
|
5165
5189
|
font-family: var(--sc-font-body, ${DS_FONT_BODY});
|
|
5166
5190
|
font-size: 0.875rem;
|
|
5167
|
-
line-height:
|
|
5191
|
+
line-height: ${_ref9 => {
|
|
5192
|
+
let {
|
|
5193
|
+
$compact
|
|
5194
|
+
} = _ref9;
|
|
5195
|
+
return $compact ? '1.4' : '2';
|
|
5196
|
+
}};
|
|
5168
5197
|
color: var(--sc-text-color, ${DS_TEXT_COLOR});
|
|
5169
5198
|
min-width: 0; /* Allow flex container to shrink */
|
|
5170
5199
|
|
|
@@ -5174,11 +5203,31 @@ const StyledItemText = styled.div`
|
|
|
5174
5203
|
`;
|
|
5175
5204
|
const StyledIconWrapper = styled.span`
|
|
5176
5205
|
display: flex;
|
|
5177
|
-
align-items:
|
|
5206
|
+
align-items: ${_ref10 => {
|
|
5207
|
+
let {
|
|
5208
|
+
$compact
|
|
5209
|
+
} = _ref10;
|
|
5210
|
+
return $compact ? 'center' : 'flex-start';
|
|
5211
|
+
}};
|
|
5178
5212
|
justify-content: center;
|
|
5179
|
-
padding-right:
|
|
5180
|
-
|
|
5181
|
-
|
|
5213
|
+
padding-right: ${_ref11 => {
|
|
5214
|
+
let {
|
|
5215
|
+
$compact
|
|
5216
|
+
} = _ref11;
|
|
5217
|
+
return $compact ? '0.25em' : '0.5em';
|
|
5218
|
+
}};
|
|
5219
|
+
height: ${_ref12 => {
|
|
5220
|
+
let {
|
|
5221
|
+
$compact
|
|
5222
|
+
} = _ref12;
|
|
5223
|
+
return $compact ? 'auto' : '25px';
|
|
5224
|
+
}};
|
|
5225
|
+
margin-top: ${_ref13 => {
|
|
5226
|
+
let {
|
|
5227
|
+
$compact
|
|
5228
|
+
} = _ref13;
|
|
5229
|
+
return $compact ? '0' : '3px';
|
|
5230
|
+
}};
|
|
5182
5231
|
flex-shrink: 0;
|
|
5183
5232
|
`;
|
|
5184
5233
|
const StyledContent = styled.span`
|
|
@@ -5286,12 +5335,12 @@ const renderValue = (value, keyPrefix) => {
|
|
|
5286
5335
|
process(value, keyPrefix);
|
|
5287
5336
|
return nodes;
|
|
5288
5337
|
};
|
|
5289
|
-
const getIcon$1 =
|
|
5338
|
+
const getIcon$1 = _ref14 => {
|
|
5290
5339
|
let {
|
|
5291
5340
|
type,
|
|
5292
5341
|
theme = 'email',
|
|
5293
5342
|
hasWarning
|
|
5294
|
-
} =
|
|
5343
|
+
} = _ref14;
|
|
5295
5344
|
switch (type) {
|
|
5296
5345
|
case 'good':
|
|
5297
5346
|
return /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -5338,7 +5387,7 @@ const getIcon$1 = _ref5 => {
|
|
|
5338
5387
|
return null;
|
|
5339
5388
|
}
|
|
5340
5389
|
};
|
|
5341
|
-
const InfoItem =
|
|
5390
|
+
const InfoItem = _ref15 => {
|
|
5342
5391
|
let {
|
|
5343
5392
|
type,
|
|
5344
5393
|
theme,
|
|
@@ -5346,9 +5395,10 @@ const InfoItem = _ref6 => {
|
|
|
5346
5395
|
subtexts,
|
|
5347
5396
|
hasWarning,
|
|
5348
5397
|
fluid,
|
|
5398
|
+
compact,
|
|
5349
5399
|
extractionBox,
|
|
5350
5400
|
'data-testid': dataTestId
|
|
5351
|
-
} =
|
|
5401
|
+
} = _ref15;
|
|
5352
5402
|
const renderedText = renderValue(text, 'info-item-text');
|
|
5353
5403
|
const icon = getIcon$1({
|
|
5354
5404
|
type,
|
|
@@ -5364,13 +5414,19 @@ const InfoItem = _ref6 => {
|
|
|
5364
5414
|
if (type === 'image') {
|
|
5365
5415
|
return /*#__PURE__*/React__default.createElement(StyledInfoItem, {
|
|
5366
5416
|
$fluid: fluid,
|
|
5417
|
+
$compact: compact,
|
|
5367
5418
|
"data-testid": dataTestId
|
|
5368
5419
|
}, renderedText.length ? renderedText : null);
|
|
5369
5420
|
}
|
|
5370
5421
|
const content = /*#__PURE__*/React__default.createElement(StyledInfoItem, {
|
|
5371
5422
|
$fluid: fluid,
|
|
5423
|
+
$compact: compact,
|
|
5372
5424
|
"data-testid": dataTestId
|
|
5373
|
-
}, /*#__PURE__*/React__default.createElement(StyledItemText,
|
|
5425
|
+
}, /*#__PURE__*/React__default.createElement(StyledItemText, {
|
|
5426
|
+
$compact: compact
|
|
5427
|
+
}, icon && /*#__PURE__*/React__default.createElement(StyledIconWrapper, {
|
|
5428
|
+
$compact: compact
|
|
5429
|
+
}, icon), /*#__PURE__*/React__default.createElement(StyledContent, null, renderedText.length ? renderedText : null)), subtexts !== null && subtexts !== void 0 && subtexts.length ? /*#__PURE__*/React__default.createElement(StyledSubtexts, null, subtexts.map((subtext, idx) => /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
5374
5430
|
key: idx
|
|
5375
5431
|
}, renderValue(subtext.text, `info-item-subtext-${idx}`)))) : null);
|
|
5376
5432
|
|
|
@@ -5385,17 +5441,19 @@ const InfoItem = _ref6 => {
|
|
|
5385
5441
|
|
|
5386
5442
|
// Memoize InfoItem to prevent unnecessary re-renders of subtexts (e.g., Sankey charts)
|
|
5387
5443
|
const MemoizedInfoItem = /*#__PURE__*/React__default.memo(InfoItem);
|
|
5388
|
-
const Checklist =
|
|
5444
|
+
const Checklist = _ref16 => {
|
|
5389
5445
|
let {
|
|
5390
5446
|
items = [],
|
|
5391
|
-
fluid = false
|
|
5392
|
-
|
|
5447
|
+
fluid = false,
|
|
5448
|
+
compact = false
|
|
5449
|
+
} = _ref16;
|
|
5393
5450
|
return /*#__PURE__*/React__default.createElement(StyledChecklistContainer, {
|
|
5394
5451
|
$fluid: fluid
|
|
5395
5452
|
}, items.map((item, index) => /*#__PURE__*/React__default.createElement(MemoizedInfoItem, _extends({
|
|
5396
5453
|
key: index
|
|
5397
5454
|
}, item, {
|
|
5398
|
-
fluid: fluid
|
|
5455
|
+
fluid: fluid,
|
|
5456
|
+
compact: compact
|
|
5399
5457
|
}))));
|
|
5400
5458
|
};
|
|
5401
5459
|
var Checklist$1 = Checklist;
|
|
@@ -5482,6 +5540,7 @@ const StyledBox = styled.div`
|
|
|
5482
5540
|
} = _ref2;
|
|
5483
5541
|
return $accentColor;
|
|
5484
5542
|
}};
|
|
5543
|
+
box-sizing: content-box;
|
|
5485
5544
|
display: flex;
|
|
5486
5545
|
justify-content: center;
|
|
5487
5546
|
align-items: center;
|
|
@@ -5527,7 +5586,7 @@ const StyledBox = styled.div`
|
|
|
5527
5586
|
return '24px';
|
|
5528
5587
|
}
|
|
5529
5588
|
if ($circle) {
|
|
5530
|
-
return '
|
|
5589
|
+
return '14px';
|
|
5531
5590
|
}
|
|
5532
5591
|
return '20px';
|
|
5533
5592
|
}};
|
|
@@ -5540,7 +5599,7 @@ const StyledBox = styled.div`
|
|
|
5540
5599
|
return '48px';
|
|
5541
5600
|
}
|
|
5542
5601
|
if ($circle) {
|
|
5543
|
-
return '
|
|
5602
|
+
return '14px';
|
|
5544
5603
|
}
|
|
5545
5604
|
return '20px';
|
|
5546
5605
|
}};
|
|
@@ -6095,6 +6154,7 @@ const SignalCardNormal = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6095
6154
|
onToggle: () => onResultsChange === null || onResultsChange === void 0 ? void 0 : onResultsChange(i),
|
|
6096
6155
|
selected: resultSelected === i
|
|
6097
6156
|
}, /*#__PURE__*/React__default.createElement(Checklist$1, {
|
|
6157
|
+
compact: true,
|
|
6098
6158
|
items: [_objectSpread2(_objectSpread2({}, data), {}, {
|
|
6099
6159
|
text: data.label,
|
|
6100
6160
|
type: itemType
|