message: feat(request-trial): add checkbox to confirm terms and conditions
diff: import {
  Button,
  Field,
  + Box,
  + CheckBox,
  FieldGroup,
  TextInput,
  EmailInput,
  @@ -10,7 +12,7 @@ import {
  } from '@rocket.chat/fuselage';
  import type { ReactElement } from 'react';
  import { useForm, SubmitHandler, Validate, Controller } from 'react-hook-form';
  -import { useTranslation } from 'react-i18next';
  +import { useTranslation, Trans } from 'react-i18next';
  import Form from '../../common/Form';
  @@ -19,6 +21,8 @@ type RequestTrialPayload = {
  organizationName: string;
  organizationSize: string;
  country: string;
  + updates: boolean;
  + agreement: boolean;
  };
  type RequestTrialFormProps = {
  @@ -28,6 +32,8 @@ type RequestTrialFormProps = {
  onSubmit: SubmitHandler<RequestTrialPayload>;
  onManageWorkspaceClick: () => void;
  validateEmail: Validate<string>;
  + termsHref?: string;
  + policyHref?: string;
  };
  const RequestTrialForm = ({
  @@ -36,6 +42,8 @@ const RequestTrialForm = ({
  countryOptions,
  onSubmit,
  validateEmail,
  + termsHref = 'https://rocket.chat/terms',
  + policyHref = 'https://rocket.chat/privacy',
  }: RequestTrialFormProps): ReactElement => {
  const { t } = useTranslation();
  @@ -131,6 +139,53 @@ const RequestTrialForm = ({
  />
  </Field.Row>
  </Field>
  + <Field>
  + <Box mbs='x24'>
  + <Box
  + mbe='x8'
  + display='flex'
  + flexDirection='row'
  + alignItems='flex-start'
  + fontScale='c1'
  + lineHeight={20}
  + >
  + <CheckBox mie='x8' {...register('updates')} />{' '}
  + <Box is='label' htmlFor='updates'>
  + {t('form.registeredServerForm.keepInformed')}
  + </Box>
  + </Box>
  + <Box
  + display='flex'
  + flexDirection='row'
  + alignItems='flex-start'
  + color='default'
  + fontScale='c1'
  + lineHeight={20}
  + >
  + <CheckBox
  + mie='x8'
  + {...register('agreement', { required: true })}
  + />{' '}
  + <Box is='label' htmlFor='agreement' withRichContent>
  + <Trans i18nKey='component.form.termsAndConditions'>
  + I agree with
  + <a href={termsHref} target='_blank' rel='noopener noreferrer'>
  + Terms and Conditions
  + </a>
  + and
  + <a
  + href={policyHref}
  + target='_blank'
  + rel='noopener noreferrer'
  + >
  + Privacy Policy
  + </a>
  + </Trans>
  + </Box>
  + </Box>
  + </Box>
  + </Field>
  +
  <Field>
  <Field.Label>
  {t('form.requestTrialForm.hasWorkspace.label')}
  