kyd-shared-badge 0.3.102 → 0.3.104

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kyd-shared-badge",
3
- "version": "0.3.102",
3
+ "version": "0.3.104",
4
4
  "private": false,
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
@@ -21,7 +21,7 @@
21
21
  "@aws-sdk/lib-dynamodb": "^3.893.0",
22
22
  "@chatscope/chat-ui-kit-react": "^2.1.1",
23
23
  "@chatscope/chat-ui-kit-styles": "^1.4.0",
24
- "@knowyourdeveloper/react-bubble-chart": "^1.0.7",
24
+ "@knowyourdeveloper/react-bubble-chart": "^1.0.8",
25
25
  "@knowyourdeveloper/react-gauge-component": "^1.1.30",
26
26
  "@radix-ui/react-slot": "^1.2.3",
27
27
  "@radix-ui/react-tooltip": "^1.2.8",
@@ -223,7 +223,9 @@ const AppendixTables: React.FC<AppendixTableProps> = ({ type, sources, searchedA
223
223
  entityName: s['Entity Name'],
224
224
  url: s.URL,
225
225
  }))
226
- : (sources as BusinessRuleRow[]).map(s => ({
226
+ : (sources as BusinessRuleRow[])
227
+ .filter(s => !((s?.provider || '').toLowerCase().includes('linkedin')))
228
+ .map(s => ({
227
229
  provider: s.provider,
228
230
  // Keep original category label; pillar derived from genreMapping
229
231
  category: s.category || '',
@@ -290,18 +290,24 @@ export function ConnectAccounts(props: ConnectAccountsProps) {
290
290
  initial="initial" animate="animate" exit="exit" variants={cardVariants}
291
291
  >
292
292
  {selectedProvider.id === 'linkedin' && (
293
- <p className="sm:text-xs items-center text-[10px] text-[var(--text-secondary)] leading-relaxed max-w-xs mx-auto -mt-2">
294
- <Link
295
- href="https://www.linkedin.com/public-profile/settings"
296
- target="_blank"
297
- rel="noopener noreferrer"
298
- className="underline"
299
- style={{ color: 'var(--icon-accent)' }}
300
- >
301
- LinkedIn <ExternalLink className="size-3 inline-block ml-1 underline-0" />
302
- </Link>
303
- . This opens your public profile settings (you’ll see your shareable URL if you’re signed in).
304
- </p>
293
+ <>
294
+ <p className="sm:text-xs items-center text-[10px] text-[var(--text-secondary)] leading-relaxed max-w-xs mx-auto -mt-2">
295
+ <Link
296
+ href="https://www.linkedin.com/public-profile/settings"
297
+ target="_blank"
298
+ rel="noopener noreferrer"
299
+ className="underline"
300
+ style={{ color: 'var(--icon-accent)' }}
301
+ >
302
+ LinkedIn <ExternalLink className="size-3 inline-block ml-1 underline-0" />
303
+ </Link>
304
+ . This opens your public profile settings (you’ll see your shareable URL if you’re signed in).
305
+ </p>
306
+ <p className="sm:text-xs items-center text-[10px] text-[var(--text-secondary)] leading-relaxed max-w-xs mx-auto -mt-2">
307
+ LinkedIn data is not used to contribute to your score.
308
+ </p>
309
+ </>
310
+
305
311
  )}
306
312
  <div className="relative">
307
313
  <LinkIcon className="absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-[var(--text-secondary)]" />