Skip to content

Commit 4580d9c

Browse files
author
Mayur
committed
feat: Added changes for texts and added existing dimmed border for Table
1 parent 064de31 commit 4580d9c

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

apps/web/pages/auth/onboarding/ImportColumnsSection.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import { Stack, SegmentedControl, Box, List, Text } from '@mantine/core';
1+
import { Stack, SegmentedControl, Box, Text, Flex } from '@mantine/core';
22
import { Control, Controller, FieldErrors, UseFormSetError } from 'react-hook-form';
33
import { UploadDropzone } from '@ui/UploadDropzone';
44
import { WIDGET_TEXTS } from '@impler/client';
55
import { OnboardCreateTemplateModeEnum } from '@impler/shared';
66
import { useTemplateSchema } from '@hooks/useTemplateSchema';
77
import OnboardTemplateSchemaTable from './OnboardTemplateSchemaTable';
88
import SampleColumnsTable from './SampleColumnsTable';
9+
import { colors } from '@config';
10+
import { InformationIcon } from '@assets/icons/Information.icon';
911

1012
interface ImportColumnsSectionProps {
1113
control: Control<CreateOnboardImportFormData>;
@@ -27,14 +29,10 @@ export default function ImportColumnsSection({ control, setError, errors }: Impo
2729
{templateSchema && templateSchema.length > 0 ? (
2830
<Stack spacing="md">
2931
<OnboardTemplateSchemaTable data={templateSchema} />
30-
<List spacing="xs">
31-
<List.Item>
32-
<Text size="md">You will be able to Edit and delete Columns in Next Step</Text>
33-
</List.Item>
34-
<List.Item>
35-
<Text size="md">Your filewon&apos;t be stored anywhere</Text>
36-
</List.Item>
37-
</List>
32+
<Flex gap="xs">
33+
<InformationIcon size="md" color={colors.yellow} />
34+
<Text color="dimmed">You will be able to Edit and delete Columns in Next Step</Text>
35+
</Flex>
3836
</Stack>
3937
) : (
4038
<>

apps/widget/src/components/Common/Container/Container.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export function Container({ children }: PropsWithChildren<{}>) {
136136
'--border-radius': secondaryPayload.appearance?.borderRadius || '0.25rem',
137137
'--label-color': '#868e96',
138138
'--error-color': '#f03e3e',
139+
'--border-color': colors.lightDeem,
139140
'--background-color': secondaryPayload.appearance?.widget?.backgroundColor ?? colors.white,
140141

141142
// stepper

0 commit comments

Comments
 (0)