From e731c332351b7c53f9cba590a8e631c6511f63f0 Mon Sep 17 00:00:00 2001 From: "GitStart-Cal.com" <121884634+gitstart-calcom@users.noreply.github.com> Date: Thu, 29 Jun 2023 15:47:16 +0800 Subject: [PATCH] feat: Add divider and set spacing on modals with the type=creation prop (feat-add-divider) ## What does this PR do? - Add the prop customDividerClassName to customize the CSS Divider if needed - Add a divider on all modals with type="creation" prop, following the [figma](https://www.figma.com/file/9MOufQNLtdkpnDucmNX10R/1.-Cal-DS?type=design&node-id=29898%3A100590&t=62LvZCZAEZm5zDdw-1) design - Some type="creation" modals seem not to be this type, we pushed all changes with screenshots, if you want us to revert the changes on some modals we will revert  - Inline Embed:  - Enable Two-Factor Authentication:  -Enable Two-Factor Authentication (step 2):  -Enable Two-Factor Authentication (step 3):  - Disable Two-Factor Authentication:  - Delete Account:  - Update Timezone:  - Duplicate Event Type:  - Add a New Form:  - Change Team Member Role:  - Impersonate:  - Bulk Update Event Types:  - Connecting with MS Teams:  - Set a Default App Link:  - OIDC configuration:  - SAML Configuration:  - How to use booking questions as variables?   - Invite Link Settings:  - Add Action:  - Edit Keys:  - Create an Api Key:  - API key created successfully:  - Invite Team Member:  - Add a Question:  - Add a new event type:  --- apps/web/components/Embed.tsx | 12 +- .../settings/DisableTwoFactorModal.tsx | 14 +- .../settings/EnableTwoFactorModal.tsx | 18 +- .../web/pages/settings/my-account/profile.tsx | 62 ++--- .../components/AccountDialog.tsx | 2 +- .../routing-forms/components/FormActions.tsx | 15 +- packages/features/apps/AdminAppsList.tsx | 2 +- .../components/AppSetDefaultLinkDialog.tsx | 4 +- .../components/event-meta/Occurences.tsx | 10 +- .../weeklyview/components/Calendar.tsx | 2 +- .../components/DateValues/index.tsx | 2 +- .../api-keys/components/ApiKeyDialogForm.tsx | 10 +- .../ee/sso/components/OIDCConnection.tsx | 12 +- .../ee/sso/components/SAMLConnection.tsx | 4 +- .../components/InviteLinkSettingsModal.tsx | 4 +- .../components/MemberChangeRoleModal.tsx | 16 +- .../components/MemberInvitationModal.tsx | 8 +- .../ee/teams/components/MemberListItem.tsx | 2 +- .../workflows/components/AddActionDialog.tsx | 241 +++++++++--------- .../components/WorkflowStepContainer.tsx | 13 +- .../BulkEditDefaultConferencingModal.tsx | 4 +- .../components/CreateEventTypeDialog.tsx | 2 +- .../eventtypes/components/DuplicateDialog.tsx | 20 +- .../features/form-builder/FormBuilder.tsx | 2 +- .../settings/TimezoneChangeDialog.tsx | 3 +- packages/ui/components/dialog/Dialog.tsx | 11 +- 26 files changed, 258 insertions(+), 237 deletions(-) diff --git a/apps/web/components/Embed.tsx b/apps/web/components/Embed.tsx index 3ad578c85c..88c5cf48c2 100644 --- a/apps/web/components/Embed.tsx +++ b/apps/web/components/Embed.tsx @@ -17,6 +17,7 @@ import { Button, Dialog, DialogClose, + DialogFooter, DialogContent, HorizontalTabs, Label, @@ -1206,8 +1207,12 @@ const EmbedTypeCodeAndPreviewDialogContent = ({ /> )} -
-