From 8d449193036fa7cbd6c19ad4b1470724394487b3 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Fri, 7 Mar 2025 22:04:56 +0300 Subject: [PATCH] R: Remove redundant containers --- .../src/components/Container/FlexColumn.tsx | 13 ---- .../src/components/Container/Overlay.tsx | 32 --------- .../src/components/Container/index.tsx | 2 - .../src/components/Dropdown/Dropdown.tsx | 11 ++- .../src/components/Modal/ModalForm.tsx | 10 +-- .../src/components/Modal/ModalView.tsx | 5 +- .../features/help/components/BadgeHelp.tsx | 17 ++++- .../library/components/PickSchema.tsx | 5 +- .../library/components/ToolbarItemAccess.tsx | 10 +-- .../components/ToolbarItemCard.tsx} | 21 +++--- .../src/features/library/components/index.tsx | 1 + .../pages/LibraryPage/TableLibraryItems.tsx | 5 +- .../pages/LibraryPage/ViewSideLocation.tsx | 7 +- .../TabSynthesisOperation.tsx | 5 +- .../dialogs/DlgEditOperation/TabArguments.tsx | 33 ++++----- .../OssPage/EditorOssCard/EditorOssCard.tsx | 10 ++- .../pages/OssPage/EditorOssGraph/OssFlow.tsx | 14 ++-- .../EditorOssGraph/ToolbarOssGraph.tsx | 7 +- .../OssPage/EditorOssGraph/graph/NodeCore.tsx | 5 +- .../src/features/rsform/components/index.tsx | 1 - .../dialogs/DlgCreateCst/FormCreateCst.tsx | 8 +-- .../rsform/dialogs/DlgShowAST/DlgShowAST.tsx | 14 ++-- .../EditorConstituenta/EditorControls.tsx | 5 +- .../EditorConstituenta/FormConstituenta.tsx | 5 +- .../ToolbarConstituenta.tsx | 20 +++--- .../EditorRSExpression/StatusBar.tsx | 12 ++-- .../ToolbarRSExpression.tsx | 5 +- .../EditorRSFormCard/EditorRSFormCard.tsx | 10 ++- .../EditorRSFormCard/ToolbarVersioning.tsx | 8 +-- .../RSFormPage/EditorRSList/EditorRSList.tsx | 15 ++-- .../RSFormPage/EditorRSList/ToolbarRSList.tsx | 14 ++-- .../EditorTermGraph/GraphSelectors.tsx | 9 ++- .../RSFormPage/EditorTermGraph/TGFlow.tsx | 68 +++++++++---------- .../EditorTermGraph/ToolbarTermGraph.tsx | 7 +- .../users/pages/RegisterPage/FormSignup.tsx | 13 ++-- .../pages/UserProfilePage/EditorPassword.tsx | 5 +- rsconcept/frontend/src/styling/styles.css | 2 + rsconcept/frontend/tests/app.spec.ts | 2 +- 38 files changed, 182 insertions(+), 254 deletions(-) delete mode 100644 rsconcept/frontend/src/components/Container/FlexColumn.tsx delete mode 100644 rsconcept/frontend/src/components/Container/Overlay.tsx rename rsconcept/frontend/src/features/{rsform/components/ToolbarRSFormCard.tsx => library/components/ToolbarItemCard.tsx} (78%) diff --git a/rsconcept/frontend/src/components/Container/FlexColumn.tsx b/rsconcept/frontend/src/components/Container/FlexColumn.tsx deleted file mode 100644 index decc2641..00000000 --- a/rsconcept/frontend/src/components/Container/FlexColumn.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import clsx from 'clsx'; - -/** - * `flex` column container. - * This component is useful for creating vertical layouts with flexbox. - */ -export function FlexColumn({ className, children, ...restProps }: React.ComponentProps<'div'>) { - return ( -
Список схем пуст
Измените параметры фильтра
- +Список схем пуст