feat: client-text and client-checkbox field types — signer fills text/checks boxes on signing page

This commit is contained in:
Chandler Copeland
2026-04-06 11:35:30 -06:00
parent 116fa2bdfb
commit 6013dfe89f
6 changed files with 212 additions and 126 deletions

View File

@@ -38,6 +38,8 @@ const FIELD_HEIGHTS: Record<SignatureFieldType, number> = {
'date': 12,
'text': 12,
'checkbox': 14,
'client-text': 12,
'client-checkbox': 14,
};
// Width clamping — use the exact measured blank width but stay within these bounds
@@ -49,6 +51,8 @@ const SIZE_LIMITS: Record<SignatureFieldType, { minW: number; maxW: number }> =
'date': { minW: 50, maxW: 130 },
'text': { minW: 30, maxW: 280 },
'checkbox': { minW: 14, maxW: 20 },
'client-text': { minW: 30, maxW: 280 },
'client-checkbox': { minW: 14, maxW: 20 },
};
/**