kyd-shared-badge 0.2.6 → 0.2.7

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.2.6",
3
+ "version": "0.2.7",
4
4
  "private": false,
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
@@ -69,7 +69,7 @@ const AppendixTables: React.FC<AppendixTableProps> = ({ type, sources, searchedA
69
69
 
70
70
  const formattedDate = new Date(searchedAt).toLocaleString(undefined, {
71
71
  year: 'numeric', month: 'short', day: 'numeric',
72
- hour: 'numeric', minute: '2-digit',
72
+ // hour: 'numeric', minute: '2-digit',
73
73
  });
74
74
 
75
75
  const headers = type === 'sanctions'
@@ -22,11 +22,11 @@ const FindingRow = ({ finding }: { finding: IpRiskAnalysisFinding }) => (
22
22
  const Section = ({ section }: { section: IpRiskSection }) => (
23
23
  <div className="py-3">
24
24
  <h4 className="text-lg font-semibold mb-2" style={{ color: 'var(--text-main)' }}>{section.title}</h4>
25
- <ul className="list-disc pl-5 space-y-2">
25
+ <ul className="list-disc pl-6 space-y-2">
26
26
  {section.items.map((item, idx) => (
27
27
  <li key={idx} className="text-sm">
28
- <span className="font-medium" style={{ color: 'var(--text-main)' }}>{item.label}:</span>{' '}
29
- <span style={{ color: 'var(--text-secondary)' }}>{item.text}</span>
28
+ <div className="font-medium" style={{ color: 'var(--text-main)' }}>{item.label}:</div>
29
+ <div className="pl-3" style={{ color: 'var(--text-secondary)' }}>{item.text}</div>
30
30
  </li>
31
31
  ))}
32
32
  </ul>
@@ -48,9 +48,9 @@ const ReportHeader = ({ badgeId, developerName, updatedAt, score = 0, isPublic,
48
48
  style={{ backgroundColor: 'var(--content-card-background)', borderColor: 'var(--icon-button-secondary)', backgroundImage: `linear-gradient(${tint}, ${tint})` }}
49
49
  >
50
50
  {/* Left Section */}
51
- <div className="flex items-center text-left md:text-center gap-5">
51
+ <div className="flex items-center text-left md:text-center">
52
52
  <Image src={finalBadgeImageUrl} alt="KYD Badge" width={100} height={100} unoptimized />
53
- <div className='flex flex-col'>
53
+ <div className='flex flex-col ml-3'>
54
54
  <h1 className={'font-bold text-lg'} style={{ color: 'var(--text-main)' }}>
55
55
  KYD Self-Check™
56
56
  </h1>