Skip to content

Commit

Permalink
Merge pull request #360 from AOT-Technologies/Feature/FWF-4012-Migrat…
Browse files Browse the repository at this point in the history
…ion-modal

FWF-4012:[Feature] - Doted line for Migration modal.
  • Loading branch information
arun-s-aot authored Dec 9, 2024
2 parents f95ba3d + 3aedcbb commit c695726
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ interface ConfirmModalProps {
primaryBtndataTestid?: string;
primaryBtnariaLabel?: string;
secondoryBtnariaLabel?: string;
buttonLoading?:boolean;
}

export const ConfirmModal: React.FC<ConfirmModalProps> = React.memo(({
Expand All @@ -34,7 +35,8 @@ export const ConfirmModal: React.FC<ConfirmModalProps> = React.memo(({
secondoryBtndataTestid = 'cancel-button',
primaryBtndataTestid = 'Confirm-button',
primaryBtnariaLabel = 'Confirm Button',
secondoryBtnariaLabel = 'Cancel Button'
secondoryBtnariaLabel = 'Cancel Button',
buttonLoading= false,
}) => {
return (
<>
Expand Down Expand Up @@ -89,6 +91,7 @@ export const ConfirmModal: React.FC<ConfirmModalProps> = React.memo(({
onClick={primaryBtnAction}
dataTestid={primaryBtndataTestid}
ariaLabel={primaryBtnariaLabel}
buttonLoading={buttonLoading}
/>
<CustomButton
variant="secondary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const ImportModal: React.FC<ImportModalProps> = React.memo(
},
{
value: "minor",
label: `import as version ${fileItems?.form?.majorVersion}.${fileItems?.form?.minorVersion} (impacts previous and new submissions)`,
label: `import as version ${fileItems?.form?.majorVersion}.${fileItems?.form?.minorVersion + 1 } (impacts previous and new submissions)`,
},
];

Expand Down
5 changes: 5 additions & 0 deletions forms-flow-theme/scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -459,3 +459,8 @@ select option:hover {
display: none !important;
}
}

.dashed-line {
width: 8.8125rem;
border-top: 0.1875rem dashed var(--ff-gray-300);
}

0 comments on commit c695726

Please sign in to comment.