From 1cc41320acfe0d1fb1f6024af406647d3bf70a81 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Sat, 14 Oct 2023 23:46:36 +0300 Subject: [PATCH] UI fixes --- .../src/components/Common/Checkbox.tsx | 4 +- .../frontend/src/components/Common/Label.tsx | 10 +- .../src/components/Common/TextArea.tsx | 4 +- .../src/components/Common/TextInput.tsx | 1 - .../src/components/Common/Tristate.tsx | 3 +- .../src/components/DataTable/index.tsx | 14 +-- .../frontend/src/components/RSInput/index.tsx | 1 - .../src/components/RefsInput/index.tsx | 1 - rsconcept/frontend/src/index.css | 2 +- .../src/pages/ManualsPage/TopicsList.tsx | 2 +- .../pages/RSFormPage/EditorConstituenta.tsx | 6 +- .../src/pages/RSFormPage/EditorTermGraph.tsx | 5 +- .../frontend/src/pages/RSFormPage/RSTabs.tsx | 20 +++- .../elements/ViewSideConstituents.tsx | 102 +++++++++--------- 14 files changed, 91 insertions(+), 84 deletions(-) diff --git a/rsconcept/frontend/src/components/Common/Checkbox.tsx b/rsconcept/frontend/src/components/Common/Checkbox.tsx index b3bd74de..ba20f94f 100644 --- a/rsconcept/frontend/src/components/Common/Checkbox.tsx +++ b/rsconcept/frontend/src/components/Common/Checkbox.tsx @@ -7,7 +7,6 @@ export interface CheckboxProps extends Omit, 'className' | 'children' | 'title' | 'value' | 'onClick' > { id?: string label?: string - required?: boolean disabled?: boolean dimensions?: string tooltip?: string @@ -17,7 +16,7 @@ extends Omit, 'className' | 'child } function Checkbox({ - id, required, disabled, tooltip, label, + id, disabled, tooltip, label, dimensions = 'w-fit', value, setValue, ...props }: CheckboxProps) { const cursor = useMemo( @@ -59,7 +58,6 @@ function Checkbox({