feat: client-text and client-checkbox field types — signer fills text/checks boxes on signing page
This commit is contained in:
@@ -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 },
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user