From dc8d8433dd4a925653ba4358efd0ffca4227d3e7 Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Sun, 17 Mar 2024 13:54:14 +0800 Subject: [PATCH] chore: update documentation --- .../animate/animate-generic-fade-in-out.tsx | 6 ++-- .../primitives/document-flow/add-settings.tsx | 35 ++++++++++++------- .../primitives/document-flow/add-signers.tsx | 20 ++++++----- 3 files changed, 37 insertions(+), 24 deletions(-) diff --git a/packages/ui/components/animate/animate-generic-fade-in-out.tsx b/packages/ui/components/animate/animate-generic-fade-in-out.tsx index 5478eaa50..78487b953 100644 --- a/packages/ui/components/animate/animate-generic-fade-in-out.tsx +++ b/packages/ui/components/animate/animate-generic-fade-in-out.tsx @@ -5,17 +5,17 @@ import { motion } from 'framer-motion'; type AnimateGenericFadeInOutProps = { children: React.ReactNode; className?: string; - key?: string; + motionKey?: string; }; export const AnimateGenericFadeInOut = ({ children, className, - key, + motionKey, }: AnimateGenericFadeInOutProps) => { return ( -

The authentication requirement for recipients to view the document.

+

+ Document access +

-
    +

    The authentication required for recipients to view the document.

    + +
    • - Require account - The recipient must have an account, - and be signed in to view the document + Require account - The recipient must be signed in to + view the document
    • None - The document can be accessed directly by the URL @@ -185,28 +189,33 @@ export const AddSettingsFormPartial = ({ render={({ field }) => ( - Recipient signing authentication + Recipient action authentication -

      The authentication requirement for recipients to sign fields.

      +

      + Global recipient action authentication +

      - You can also override this global setting by setting the authentication - requirements directly on each recipient in the next step. + The authentication required for recipients to sign fields and complete the + document.

      -
        +

        + This can be overriden by setting the authentication requirements directly + on each recipient in the next step. +

        + +
        • - Require account - The recipient must have an account, - and be signed in to sign fields + Require account - The recipient must be signed in
        • - None - The recipient does not need any authentication - to sign fields + None - No authentication required
        diff --git a/packages/ui/primitives/document-flow/add-signers.tsx b/packages/ui/primitives/document-flow/add-signers.tsx index be5c6d429..8e174e578 100644 --- a/packages/ui/primitives/document-flow/add-signers.tsx +++ b/packages/ui/primitives/document-flow/add-signers.tsx @@ -174,7 +174,7 @@ export const AddSignersFormPartial = ({ ))} - +
        {signers.map((signer, index) => ( @@ -259,25 +259,29 @@ export const AddSignersFormPartial = ({ +

        + Recipient action authentication +

        +

        - The authentication requirements for recipients to sign fields. + The authentication required for recipients to sign fields and + complete the document.

        This will override any global settings.

        -
          +
          • Inherit authentication method - Use the - global recipient signing authentication method configured in + global action signing authentication method configured in the "General Settings" step
          • - Require account - The recipient must have - an account, and be signed in to sign fields + Require account - The recipient must be + signed in
          • - None - The recipient does not need any - authentication to sign fields + None - No authentication required