shareneus 1.7.10 → 1.7.12
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.
|
@@ -372,7 +372,7 @@ function buildInfoCardStack(title, lines, options = {}) {
|
|
|
372
372
|
...(heading ? [{
|
|
373
373
|
text: heading,
|
|
374
374
|
bold: true,
|
|
375
|
-
fontSize:
|
|
375
|
+
fontSize: 7,
|
|
376
376
|
color: '#374151',
|
|
377
377
|
margin: [0, 0, 0, 4],
|
|
378
378
|
alignment: isRightAlign ? 'right' : 'left'
|
|
@@ -383,9 +383,9 @@ function buildInfoCardStack(title, lines, options = {}) {
|
|
|
383
383
|
body: (body.length > 0 ? body : [{ label: '', value: '-' }]).map((line) => {
|
|
384
384
|
const displayValue = hasDisplayValue(line === null || line === void 0 ? void 0 : line.value) ? String(line.value) : '-';
|
|
385
385
|
return [
|
|
386
|
-
{ text: line.label || '', bold: true, fontSize:
|
|
387
|
-
{ text: ':', bold: true, fontSize:
|
|
388
|
-
{ text: displayValue, fontSize:
|
|
386
|
+
{ text: line.label || '', bold: true, fontSize: 6, color: '#111827', alignment: isRightAlign ? 'right' : 'left' },
|
|
387
|
+
{ text: ':', bold: true, fontSize: 6, color: '#111827', alignment: 'center' },
|
|
388
|
+
{ text: displayValue, fontSize: 6, color: '#111827', alignment: isRightAlign ? 'right' : 'left' }
|
|
389
389
|
];
|
|
390
390
|
})
|
|
391
391
|
},
|
package/package.json
CHANGED
|
@@ -461,7 +461,7 @@ function buildInfoCardStack(title: string | null, lines: Array<{ label: string;
|
|
|
461
461
|
...(heading ? [{
|
|
462
462
|
text: heading,
|
|
463
463
|
bold: true,
|
|
464
|
-
fontSize:
|
|
464
|
+
fontSize: 7,
|
|
465
465
|
color: '#374151',
|
|
466
466
|
margin: [0, 0, 0, 4],
|
|
467
467
|
alignment: isRightAlign ? 'right' : 'left'
|
|
@@ -472,9 +472,9 @@ function buildInfoCardStack(title: string | null, lines: Array<{ label: string;
|
|
|
472
472
|
body: (body.length > 0 ? body : [{ label: '', value: '-' }]).map((line: any) => {
|
|
473
473
|
const displayValue = hasDisplayValue(line?.value) ? String(line.value) : '-';
|
|
474
474
|
return [
|
|
475
|
-
{ text: line.label || '', bold: true, fontSize:
|
|
476
|
-
{ text: ':', bold: true, fontSize:
|
|
477
|
-
{ text: displayValue, fontSize:
|
|
475
|
+
{ text: line.label || '', bold: true, fontSize: 6, color: '#111827', alignment: isRightAlign ? 'right' : 'left' },
|
|
476
|
+
{ text: ':', bold: true, fontSize: 6, color: '#111827', alignment: 'center' },
|
|
477
|
+
{ text: displayValue, fontSize: 6, color: '#111827', alignment: isRightAlign ? 'right' : 'left' }
|
|
478
478
|
];
|
|
479
479
|
})
|
|
480
480
|
},
|