kyd-shared-badge 0.2.13 → 0.2.14
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/package.json
CHANGED
|
@@ -259,6 +259,16 @@ const SharedBadgeDisplay = ({ badgeData }: { badgeData: PublicBadgeData }) => {
|
|
|
259
259
|
/>
|
|
260
260
|
);
|
|
261
261
|
})()}
|
|
262
|
+
{screening_sources.sanctions_sublists && screening_sources.sanctions_sublists.length > 0 && (
|
|
263
|
+
<details className="mt-3">
|
|
264
|
+
<summary className={'cursor-pointer text-sm font-semibold'} style={{ color: 'var(--text-main)' }}>View all screened sub-lists</summary>
|
|
265
|
+
<ul className="mt-2 list-disc pl-5 text-sm" style={{ color: 'var(--text-secondary)' }}>
|
|
266
|
+
{screening_sources.sanctions_sublists.map((name, idx) => (
|
|
267
|
+
<li key={idx}>{name}</li>
|
|
268
|
+
))}
|
|
269
|
+
</ul>
|
|
270
|
+
</details>
|
|
271
|
+
)}
|
|
262
272
|
</div>
|
|
263
273
|
<div>
|
|
264
274
|
<h4 className={'text-xl font-bold mb-4'} style={{ color: 'var(--text-main)' }}>Country-specific Entity Affiliations</h4>
|
|
@@ -60,18 +60,18 @@ export default function ProviderInsights({ platforms, insights }: ProviderInsigh
|
|
|
60
60
|
<h3 className={'font-semibold text-lg'} style={{ color: 'var(--text-main)' }}>{platform.name}</h3>
|
|
61
61
|
</div>
|
|
62
62
|
<div className="flex flex-col items-end gap-1">
|
|
63
|
-
|
|
63
|
+
{platform.url && (
|
|
64
64
|
<span className={'text-sm'} style={{ color: 'var(--text-secondary)' }}>
|
|
65
65
|
Profile:{' '}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
<a
|
|
67
|
+
href={platform.url}
|
|
68
|
+
target="_blank"
|
|
69
|
+
rel="noopener noreferrer"
|
|
70
70
|
className={'font-medium underline-offset-2 hover:underline'}
|
|
71
71
|
style={{ color: 'var(--icon-accent)' }}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
>
|
|
73
|
+
{platform.handle || 'View Profile'}
|
|
74
|
+
</a>
|
|
75
75
|
</span>
|
|
76
76
|
)}
|
|
77
77
|
{observedDate && (
|
package/src/types.ts
CHANGED
|
@@ -162,6 +162,7 @@ export interface AssessmentResult {
|
|
|
162
162
|
matches?: any[];
|
|
163
163
|
};
|
|
164
164
|
sanctions_sources_detailed?: { issuingEntity: string; listName: string; matched?: boolean }[];
|
|
165
|
+
sanctions_sublists?: string[];
|
|
165
166
|
};
|
|
166
167
|
optOutScreening?: boolean;
|
|
167
168
|
clientMetadata?: ClientMetadata;
|