From 0ee1db7fd816aa642ac03e6a512f3f2cdf6064a5 Mon Sep 17 00:00:00 2001 From: Ihor Korenets Date: Fri, 15 Mar 2024 14:31:59 +0200 Subject: [PATCH 1/4] [Button in Modals amd Forms]: changed Ok color to primary --- app/src/common/apiReference/typeRefRTEPlugin.tsx | 4 ++-- .../common/appFooterDemo/demoToolbar/DescriptionModal.tsx | 2 +- app/src/demo/form/DemoForm.tsx | 2 +- app/src/docs/_examples/badge/Attributes.example.tsx | 2 +- app/src/docs/_examples/badge/Dropdown.example.tsx | 3 ++- app/src/docs/_examples/badge/Types.example.tsx | 6 +++--- app/src/docs/_examples/dropdown/CloseFromBody.example.tsx | 2 +- app/src/docs/_examples/dropdownContainer/Basic.example.tsx | 2 +- .../FocusLockAndKeyboardNavigation.example.tsx | 2 +- app/src/docs/_examples/form/Advanced.example.tsx | 2 +- app/src/docs/_examples/form/Basic.example.tsx | 2 +- app/src/docs/_examples/form/ComplexValidation.example.tsx | 4 ++-- app/src/docs/_examples/form/FormLeaveHandling.example.tsx | 2 +- .../docs/_examples/form/FormValidateOnChange.example.tsx | 2 +- app/src/docs/_examples/form/FormWIthClasses.example.tsx | 4 ++-- .../_examples/form/HandleSuccessSaveAndError.example.tsx | 2 +- app/src/docs/_examples/form/ServerValidation.example.tsx | 4 ++-- app/src/docs/_examples/modals/Basic.example.tsx | 2 +- .../modals/DisableClickOutsideAndCross.example.tsx | 2 +- app/src/docs/_examples/modals/ModalWithForm.example.tsx | 2 +- app/src/docs/_examples/tables/EditableTable.example.tsx | 6 +++--- app/src/docs/panel/panelExamples.tsx | 4 ++-- app/src/sandbox/scroll-spy/ScrollSpyModal.tsx | 4 ++-- uui-editor/src/plugins/imagePlugin/AddImageModal.tsx | 6 +++--- uui-editor/src/plugins/linkPlugin/AddLinkModal.tsx | 3 ++- uui-editor/src/plugins/videoPlugin/AddVideoModal.tsx | 4 ++-- uui/components/overlays/ConfirmationModal.tsx | 2 +- .../__tests__/__snapshots__/ConfirmationModal.test.tsx.snap | 4 ++-- uui/components/pickers/PickerModal.tsx | 2 +- .../__tests__/__snapshots__/PickerList.test.tsx.snap | 2 +- .../__tests__/__snapshots__/PickerModal.test.tsx.snap | 6 +++--- 31 files changed, 49 insertions(+), 47 deletions(-) diff --git a/app/src/common/apiReference/typeRefRTEPlugin.tsx b/app/src/common/apiReference/typeRefRTEPlugin.tsx index 43f3be408f..b7b4acb919 100644 --- a/app/src/common/apiReference/typeRefRTEPlugin.tsx +++ b/app/src/common/apiReference/typeRefRTEPlugin.tsx @@ -102,9 +102,9 @@ export function AddTypeRefTableModal({ editor, success, abort, ...props }: AddTy -