From 4f9a94c933d862e7264368b0debe247f7cd9f62e Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Sun, 9 Mar 2025 21:59:21 +0300 Subject: [PATCH] F: Improve styling and do a pass on UI --- .../frontend/src/app/ApplicationLayout.tsx | 2 +- rsconcept/frontend/src/app/Footer.tsx | 9 ++-- rsconcept/frontend/src/app/GlobalTooltips.tsx | 2 +- .../frontend/src/app/Navigation/Logo.tsx | 2 +- .../src/app/Navigation/Navigation.tsx | 2 +- .../src/app/Navigation/NavigationButton.tsx | 6 +-- .../src/app/Navigation/ToggleNavigation.tsx | 45 ++++++----------- .../src/app/Navigation/UserDropdown.tsx | 10 ++-- .../src/components/Control/Button.tsx | 4 +- .../src/components/Control/SubmitButton.tsx | 2 +- .../src/components/DataTable/SortingIcon.tsx | 2 +- .../src/components/DataTable/TableBody.tsx | 4 +- .../src/components/DataTable/TableHeader.tsx | 9 ++-- .../src/components/Dropdown/Dropdown.tsx | 4 ++ .../components/Dropdown/DropdownButton.tsx | 4 +- rsconcept/frontend/src/components/Icons.tsx | 15 ++---- .../frontend/src/components/InfoError.tsx | 2 +- .../src/components/Input/Checkbox.tsx | 4 +- .../src/components/Input/CheckboxTristate.tsx | 2 - .../src/components/Input/SearchBar.tsx | 2 +- .../src/components/Modal/ModalForm.tsx | 24 ++++++--- .../src/components/Modal/ModalView.tsx | 23 ++++++--- .../frontend/src/components/Tabs/TabLabel.tsx | 2 +- .../auth/pages/PasswordChangePage.tsx | 5 +- .../features/help/components/InfoCstClass.tsx | 2 +- .../features/help/items/ui/HelpOssGraph.tsx | 10 ++-- .../help/items/ui/HelpRSGraphTerm.tsx | 4 +- .../help/pages/ManualsPage/TopicsDropdown.tsx | 6 +-- .../src/features/library/backend/api.ts | 4 +- .../src/features/library/backend/types.ts | 7 +++ .../library/components/EditorLibraryItem.tsx | 6 +-- .../library/components/MiniSelectorOSS.tsx | 2 +- .../library/components/SelectLocationHead.tsx | 12 ++--- .../library/dialogs/DlgChangeLocation.tsx | 2 +- .../library/dialogs/DlgCloneLibraryItem.tsx | 4 +- .../dialogs/DlgEditEditors/DlgEditEditors.tsx | 9 ++-- .../DlgEditVersions/DlgEditVersions.tsx | 4 +- .../dialogs/DlgEditVersions/TableVersions.tsx | 24 ++++----- .../pages/CreateItemPage/FormCreateItem.tsx | 10 ++-- .../library/pages/LibraryPage/LibraryPage.tsx | 2 +- .../pages/LibraryPage/TableLibraryItems.tsx | 2 +- .../pages/LibraryPage/ToolbarSearch.tsx | 50 +++++++------------ .../pages/LibraryPage/ViewSideLocation.tsx | 4 +- .../pages/LibraryPage/useLibraryColumns.tsx | 8 +-- .../oss/components/PickMultiOperation.tsx | 2 +- .../DlgCreateOperation/DlgCreateOperation.tsx | 6 +-- .../DlgEditOperation/DlgEditOperation.tsx | 8 +-- .../dialogs/DlgEditOperation/TabOperation.tsx | 2 +- .../oss/dialogs/DlgRelocateConstituents.tsx | 2 +- .../OssPage/EditorOssCard/EditorOssCard.tsx | 5 +- .../pages/OssPage/EditorOssCard/FormOSS.tsx | 5 +- .../EditorOssGraph/NodeContextMenu.tsx | 2 +- .../pages/OssPage/EditorOssGraph/OssFlow.tsx | 21 +++----- .../EditorOssGraph/ToolbarOssGraph.tsx | 25 ++++++++-- .../frontend/src/features/rsform/colors.ts | 2 +- .../rsform/components/BadgeConstituenta.tsx | 17 ++----- .../rsform/components/BadgeGrammeme.tsx | 2 +- .../rsform/components/ConstituentaTooltip.tsx | 8 +-- .../rsform/components/PickSubstitutions.tsx | 2 +- .../dialogs/DlgCreateCst/FormCreateCst.tsx | 2 +- .../dialogs/DlgCstTemplate/DlgCstTemplate.tsx | 6 +-- .../dialogs/DlgCstTemplate/TabArguments.tsx | 31 +++++------- .../DlgEditReference/DlgEditReference.tsx | 2 +- .../DlgEditWordForms/DlgEditWordForms.tsx | 20 +++----- .../DlgEditWordForms/TableWordForms.tsx | 17 +++---- .../DlgInlineSynthesis/DlgInlineSynthesis.tsx | 15 +++--- .../rsform/dialogs/DlgShowAST/DlgShowAST.tsx | 2 +- .../rsform/dialogs/DlgSubstituteCst.tsx | 2 +- .../EditorConstituenta/FormConstituenta.tsx | 4 +- .../ToolbarConstituenta.tsx | 2 +- .../EditorRSExpression/RSEditControls.tsx | 2 +- .../EditorRSExpression/StatusBar.tsx | 11 ++-- .../EditorRSFormCard/FormRSForm.tsx | 5 +- .../EditorRSFormCard/RSFormStats.tsx | 2 +- .../RSFormPage/EditorRSList/EditorRSList.tsx | 8 +-- .../RSFormPage/EditorRSList/TableRSList.tsx | 6 +-- .../EditorTermGraph/GraphSelectors.tsx | 6 +-- .../EditorTermGraph/SchemasGuide.tsx | 26 +++------- .../RSFormPage/EditorTermGraph/TGFlow.tsx | 9 ++-- .../EditorTermGraph/ToolbarFocusedCst.tsx | 11 ++-- .../EditorTermGraph/ToolbarTermGraph.tsx | 2 +- .../RSFormPage/EditorTermGraph/ViewHidden.tsx | 10 ++-- .../ViewConstituents/ConstituentsSearch.tsx | 2 +- .../ViewConstituents/SelectGraphFilter.tsx | 16 +++--- .../ViewConstituents/SelectMatchMode.tsx | 16 +++--- .../TableSideConstituents.tsx | 18 ++----- .../ViewConstituents/ViewConstituents.tsx | 4 +- .../features/users/components/TableUsers.tsx | 17 +++---- .../users/pages/RegisterPage/FormSignup.tsx | 24 +++++---- .../pages/UserProfilePage/EditorPassword.tsx | 3 +- .../pages/UserProfilePage/EditorProfile.tsx | 2 +- rsconcept/frontend/src/styling/styles.css | 25 ++++++++++ rsconcept/frontend/src/utils/constants.ts | 2 +- 93 files changed, 375 insertions(+), 422 deletions(-) diff --git a/rsconcept/frontend/src/app/ApplicationLayout.tsx b/rsconcept/frontend/src/app/ApplicationLayout.tsx index c732ecc9..e2ca204d 100644 --- a/rsconcept/frontend/src/app/ApplicationLayout.tsx +++ b/rsconcept/frontend/src/app/ApplicationLayout.tsx @@ -25,7 +25,7 @@ export function ApplicationLayout() { return ( -
+
-
+
-
-

© 2024 ЦИВТ КОНЦЕПТ

-
+ + +

© 2024 ЦИВТ КОНЦЕПТ

); } diff --git a/rsconcept/frontend/src/app/GlobalTooltips.tsx b/rsconcept/frontend/src/app/GlobalTooltips.tsx index b78785b3..591678c2 100644 --- a/rsconcept/frontend/src/app/GlobalTooltips.tsx +++ b/rsconcept/frontend/src/app/GlobalTooltips.tsx @@ -11,7 +11,7 @@ export const GlobalTooltips = () => { id={globalIDs.tooltip} layer='z-topmost' place='right-start' - className='mt-8 max-w-[20rem] break-words' + className='mt-8 max-w-80 break-words' /> ); diff --git a/rsconcept/frontend/src/app/Navigation/Navigation.tsx b/rsconcept/frontend/src/app/Navigation/Navigation.tsx index 8712aab9..1b058e6a 100644 --- a/rsconcept/frontend/src/app/Navigation/Navigation.tsx +++ b/rsconcept/frontend/src/app/Navigation/Navigation.tsx @@ -39,7 +39,7 @@ export function Navigation() {
- {icon ? {icon} : null} + {icon ? icon : null} {text ? {text} : null} ); diff --git a/rsconcept/frontend/src/app/Navigation/ToggleNavigation.tsx b/rsconcept/frontend/src/app/Navigation/ToggleNavigation.tsx index 8d95de3c..6b2df435 100644 --- a/rsconcept/frontend/src/app/Navigation/ToggleNavigation.tsx +++ b/rsconcept/frontend/src/app/Navigation/ToggleNavigation.tsx @@ -1,34 +1,28 @@ -import clsx from 'clsx'; +'use client'; import { IconDarkTheme, IconLightTheme, IconPin, IconUnpin } from '@/components/Icons'; import { useAppLayoutStore } from '@/stores/appLayout'; import { usePreferencesStore } from '@/stores/preferences'; -import { globalIDs, PARAMETER } from '@/utils/constants'; +import { globalIDs } from '@/utils/constants'; export function ToggleNavigation() { const darkMode = usePreferencesStore(state => state.darkMode); const toggleDarkMode = usePreferencesStore(state => state.toggleDarkMode); - const noNavigation = useAppLayoutStore(state => state.noNavigation); const noNavigationAnimation = useAppLayoutStore(state => state.noNavigationAnimation); const toggleNoNavigation = useAppLayoutStore(state => state.toggleNoNavigation); - const iconSize = !noNavigationAnimation ? '0.75rem' : '1rem'; return ( -
+
+ {!noNavigationAnimation ? ( ) : null} -
); } diff --git a/rsconcept/frontend/src/app/Navigation/UserDropdown.tsx b/rsconcept/frontend/src/app/Navigation/UserDropdown.tsx index c11fe4ba..b136bf02 100644 --- a/rsconcept/frontend/src/app/Navigation/UserDropdown.tsx +++ b/rsconcept/frontend/src/app/Navigation/UserDropdown.tsx @@ -76,7 +76,7 @@ export function UserDropdown({ isOpen, hideDropdown }: UserDropdownProps) { } return ( - + } className='border-t' onClick={gotoRestApi} @@ -113,21 +113,21 @@ export function UserDropdown({ isOpen, hideDropdown }: UserDropdownProps) { ) : null} {user.is_staff ? ( } onClick={gotoAdmin} /> ) : null} {user?.is_staff ? ( } onClick={gotoIcons} /> ) : null} {user.is_staff ? ( } onClick={gotoDatabaseSchema} className='border-b' diff --git a/rsconcept/frontend/src/components/Control/Button.tsx b/rsconcept/frontend/src/components/Control/Button.tsx index 5fbf65a5..12ed843d 100644 --- a/rsconcept/frontend/src/components/Control/Button.tsx +++ b/rsconcept/frontend/src/components/Control/Button.tsx @@ -41,7 +41,7 @@ export function Button({ disabled={disabled ?? loading} className={clsx( 'inline-flex gap-2 items-center justify-center', - 'select-none disabled:cursor-auto', + 'font-medium select-none disabled:cursor-auto', 'clr-btn-default cc-animate-color', { 'border rounded-sm': !noBorder, @@ -61,7 +61,7 @@ export function Button({ {...restProps} > {icon ? icon : null} - {text ? {text} : null} + {text ? {text} : null} ); } diff --git a/rsconcept/frontend/src/components/Control/SubmitButton.tsx b/rsconcept/frontend/src/components/Control/SubmitButton.tsx index ff60953f..1895cb84 100644 --- a/rsconcept/frontend/src/components/Control/SubmitButton.tsx +++ b/rsconcept/frontend/src/components/Control/SubmitButton.tsx @@ -32,7 +32,7 @@ export function SubmitButton({ text = 'ОК', icon, disabled, loading, className disabled={disabled || loading} {...restProps} > - {icon ? {icon} : null} + {icon ? icon : null} {text ? {text} : null} ); diff --git a/rsconcept/frontend/src/components/DataTable/SortingIcon.tsx b/rsconcept/frontend/src/components/DataTable/SortingIcon.tsx index c931258e..524df298 100644 --- a/rsconcept/frontend/src/components/DataTable/SortingIcon.tsx +++ b/rsconcept/frontend/src/components/DataTable/SortingIcon.tsx @@ -14,7 +14,7 @@ export function SortingIcon({ column }: SortingIconProps) { {{ desc: , asc: - }[column.getIsSorted() as string] ?? } + }[column.getIsSorted() as string] ?? } ); } diff --git a/rsconcept/frontend/src/components/DataTable/TableBody.tsx b/rsconcept/frontend/src/components/DataTable/TableBody.tsx index 9a2dd160..098a2238 100644 --- a/rsconcept/frontend/src/components/DataTable/TableBody.tsx +++ b/rsconcept/frontend/src/components/DataTable/TableBody.tsx @@ -72,12 +72,12 @@ export function TableBody({ 'cc-scroll-row', 'clr-hover cc-animate-color', !noHeader && 'scroll-mt-[calc(2px+2rem)]', - row.getIsSelected() ? 'clr-selected' : index % 2 === 0 ? 'bg-prim-200' : 'bg-prim-100' + row.getIsSelected() ? 'clr-selected' : 'odd:bg-prim-200 even:bg-prim-100' )} style={{ ...(conditionalRowStyles ? getRowStyles(row) : []) }} > {enableRowSelection ? ( - + ) : null} diff --git a/rsconcept/frontend/src/components/DataTable/TableHeader.tsx b/rsconcept/frontend/src/components/DataTable/TableHeader.tsx index 4aeaae11..03a9ff9e 100644 --- a/rsconcept/frontend/src/components/DataTable/TableHeader.tsx +++ b/rsconcept/frontend/src/components/DataTable/TableHeader.tsx @@ -31,7 +31,7 @@ export function TableHeader({ {table.getHeaderGroups().map((headerGroup: HeaderGroup) => ( {enableRowSelection ? ( - + ) : null} @@ -39,17 +39,16 @@ export function TableHeader({ {!header.isPlaceholder ? ( - + {flexRender(header.column.columnDef.header, header.getContext())} {enableSorting && header.column.getCanSort() ? : null} diff --git a/rsconcept/frontend/src/components/Dropdown/Dropdown.tsx b/rsconcept/frontend/src/components/Dropdown/Dropdown.tsx index b3efd64b..186df81a 100644 --- a/rsconcept/frontend/src/components/Dropdown/Dropdown.tsx +++ b/rsconcept/frontend/src/components/Dropdown/Dropdown.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import clsx from 'clsx'; import { PARAMETER } from '@/utils/constants'; @@ -5,6 +6,9 @@ import { PARAMETER } from '@/utils/constants'; import { type Styling } from '../props'; interface DropdownProps extends Styling { + /** Reference to the dropdown element. */ + ref?: React.Ref; + /** Unique ID for the dropdown. */ id?: string; diff --git a/rsconcept/frontend/src/components/Dropdown/DropdownButton.tsx b/rsconcept/frontend/src/components/Dropdown/DropdownButton.tsx index 71a0b714..b39fc16d 100644 --- a/rsconcept/frontend/src/components/Dropdown/DropdownButton.tsx +++ b/rsconcept/frontend/src/components/Dropdown/DropdownButton.tsx @@ -52,9 +52,9 @@ export function DropdownButton({ data-tooltip-hidden={hideTitle} {...restProps} > + {icon ? icon : null} + {text ? {text} : null} {children ? children : null} - {!children && icon ? icon : null} - {!children && text ? {text} : null} ); } diff --git a/rsconcept/frontend/src/components/Icons.tsx b/rsconcept/frontend/src/components/Icons.tsx index 7eff031c..d58afb59 100644 --- a/rsconcept/frontend/src/components/Icons.tsx +++ b/rsconcept/frontend/src/components/Icons.tsx @@ -171,16 +171,9 @@ export interface IconProps { className?: string; } -function MetaIconSVG({ viewBox, size = '1.5rem', className, props, children }: React.PropsWithChildren) { +function MetaIconSVG({ viewBox, size = '1.5rem', props, children }: React.PropsWithChildren) { return ( - + {children} ); @@ -205,7 +198,7 @@ export function IconLogin(props: IconProps) { export function CheckboxChecked() { return ( - + ); @@ -213,7 +206,7 @@ export function CheckboxChecked() { export function CheckboxNull() { return ( - + ); diff --git a/rsconcept/frontend/src/components/InfoError.tsx b/rsconcept/frontend/src/components/InfoError.tsx index bb1af832..ae7ec93c 100644 --- a/rsconcept/frontend/src/components/InfoError.tsx +++ b/rsconcept/frontend/src/components/InfoError.tsx @@ -90,7 +90,7 @@ export function InfoError({ error }: InfoErrorProps) {
{!noIcon ? ( ) : null} diff --git a/rsconcept/frontend/src/components/Modal/ModalForm.tsx b/rsconcept/frontend/src/components/Modal/ModalForm.tsx index bdae6beb..85088fc7 100644 --- a/rsconcept/frontend/src/components/Modal/ModalForm.tsx +++ b/rsconcept/frontend/src/components/Modal/ModalForm.tsx @@ -93,28 +93,36 @@ export function ModalForm({ className={clsx( 'cc-animate-modal', 'absolute bottom-1/2 left-1/2 -translate-x-1/2 translate-y-1/2', + 'grid', 'border rounded-xl bg-prim-100' )} + role='dialog' onSubmit={handleSubmit} + aria-labelledby='modal-title' > {helpTopic && !hideHelpWhen?.() ? ( ) : null} } - className='float-right mt-2 mr-2' - onClick={handleCancel} + className='absolute z-pop right-0 mt-2 mr-2' + onClick={hideDialog} /> - {header ?

{header}

: null} + {header ? ( +

+ {header} +

+ ) : null}
-
diff --git a/rsconcept/frontend/src/components/Modal/ModalView.tsx b/rsconcept/frontend/src/components/Modal/ModalView.tsx index 00d4b811..1e7f62d7 100644 --- a/rsconcept/frontend/src/components/Modal/ModalView.tsx +++ b/rsconcept/frontend/src/components/Modal/ModalView.tsx @@ -37,19 +37,27 @@ export function ModalView({
{helpTopic && !hideHelpWhen?.() ? ( - + ) : null} } - className='float-right mt-2 mr-2' + className='absolute z-pop right-0 mt-2 mr-2' onClick={hideDialog} /> @@ -71,9 +79,12 @@ export function ModalView({ {children}
-
-
+
); diff --git a/rsconcept/frontend/src/components/Tabs/TabLabel.tsx b/rsconcept/frontend/src/components/Tabs/TabLabel.tsx index 37e2bd2c..0403b9d1 100644 --- a/rsconcept/frontend/src/components/Tabs/TabLabel.tsx +++ b/rsconcept/frontend/src/components/Tabs/TabLabel.tsx @@ -18,7 +18,7 @@ export function TabLabel({ label, title, titleHtml, hideTitle, className, ...oth return ( +
diff --git a/rsconcept/frontend/src/features/help/components/InfoCstClass.tsx b/rsconcept/frontend/src/features/help/components/InfoCstClass.tsx index 0e43bf80..842a01d6 100644 --- a/rsconcept/frontend/src/features/help/components/InfoCstClass.tsx +++ b/rsconcept/frontend/src/features/help/components/InfoCstClass.tsx @@ -18,7 +18,7 @@ export function InfoCstClass({ header }: InfoCstClassProps) { return (

{labelCstClass(cstClass)} diff --git a/rsconcept/frontend/src/features/help/items/ui/HelpOssGraph.tsx b/rsconcept/frontend/src/features/help/items/ui/HelpOssGraph.tsx index 84105109..102091f6 100644 --- a/rsconcept/frontend/src/features/help/items/ui/HelpOssGraph.tsx +++ b/rsconcept/frontend/src/features/help/items/ui/HelpOssGraph.tsx @@ -25,9 +25,9 @@ import { HelpTopic } from '../../models/helpTopic'; export function HelpOssGraph() { return (

-

Граф синтеза

+

Граф синтеза

-
+

Настройка графа

  • Вписать в экран @@ -51,7 +51,7 @@ export function HelpOssGraph() { -
    +

    Изменение узлов

  • Клик на операцию – выделение
  • Esc – сбросить выделение
  • @@ -73,7 +73,7 @@ export function HelpOssGraph() {
    -
    +

    Общие

  • Сбросить изменения @@ -85,7 +85,7 @@ export function HelpOssGraph() { -
    +

    Контекстное меню

  • Статус связанной{' '} diff --git a/rsconcept/frontend/src/features/help/items/ui/HelpRSGraphTerm.tsx b/rsconcept/frontend/src/features/help/items/ui/HelpRSGraphTerm.tsx index 99d920a6..0ccdece2 100644 --- a/rsconcept/frontend/src/features/help/items/ui/HelpRSGraphTerm.tsx +++ b/rsconcept/frontend/src/features/help/items/ui/HelpRSGraphTerm.tsx @@ -29,7 +29,7 @@ export function HelpRSGraphTerm() {

    Граф термов

    -
    +

    Настройка графа

  • Цвет – покраска узлов
  • @@ -45,7 +45,7 @@ export function HelpRSGraphTerm() { -
    +

    Изменение узлов

  • Клик на узел – выделение
  • diff --git a/rsconcept/frontend/src/features/help/pages/ManualsPage/TopicsDropdown.tsx b/rsconcept/frontend/src/features/help/pages/ManualsPage/TopicsDropdown.tsx index f0b22c59..1cbd62ab 100644 --- a/rsconcept/frontend/src/features/help/pages/ManualsPage/TopicsDropdown.tsx +++ b/rsconcept/frontend/src/features/help/pages/ManualsPage/TopicsDropdown.tsx @@ -31,14 +31,14 @@ export function TopicsDropdown({ activeTopic, onChangeTopic }: TopicsDropdownPro
    @@ -48,7 +48,7 @@ export function TopicsDropdown({ activeTopic, onChangeTopic }: TopicsDropdownPro title='Список тем' hideTitle={menu.isOpen} icon={!menu.isOpen ? : } - className={clsx('w-[3rem] h-7 rounded-none border-l-0', menu.isOpen && 'border-b-0')} + className={clsx('w-12 h-7 rounded-none border-l-0', menu.isOpen && 'border-b-0')} onClick={menu.toggle} /> - axiosPatch({ + axiosPatch({ schema: schemaVersionInfo, endpoint: `/api/versions/${data.version.id}`, request: { diff --git a/rsconcept/frontend/src/features/library/backend/types.ts b/rsconcept/frontend/src/features/library/backend/types.ts index e99e826e..88e1e3fc 100644 --- a/rsconcept/frontend/src/features/library/backend/types.ts +++ b/rsconcept/frontend/src/features/library/backend/types.ts @@ -34,6 +34,9 @@ export interface IRenameLocationDTO { /** Represents library item version information. */ export type IVersionInfo = z.infer; +/** Represents library item version extended information. */ +export type IVersionExInfo = z.infer; + /** Represents data, used for cloning {@link IRSForm}. */ export type ICloneLibraryItemDTO = z.infer; @@ -129,6 +132,10 @@ export const schemaVersionInfo = z.strictObject({ time_create: z.string().datetime({ offset: true }) }); +export const schemaVersionExInfo = schemaVersionInfo.extend({ + item: z.number() +}); + export const schemaVersionUpdate = z.strictObject({ id: z.number(), version: z.string().nonempty(errorMsg.requiredField), diff --git a/rsconcept/frontend/src/features/library/components/EditorLibraryItem.tsx b/rsconcept/frontend/src/features/library/components/EditorLibraryItem.tsx index 55a50516..e9204384 100644 --- a/rsconcept/frontend/src/features/library/components/EditorLibraryItem.tsx +++ b/rsconcept/frontend/src/features/library/components/EditorLibraryItem.tsx @@ -83,7 +83,7 @@ export function EditorLibraryItem({ schema, isAttachedToOSS }: EditorLibraryItem return (
    -
    +
    {ownerSelector.isOpen ? ( -
    - +
    +
    ) : null} {items.map((reference, index) => ( onSelect(event, reference)} diff --git a/rsconcept/frontend/src/features/library/components/SelectLocationHead.tsx b/rsconcept/frontend/src/features/library/components/SelectLocationHead.tsx index eec2d209..8c2d1001 100644 --- a/rsconcept/frontend/src/features/library/components/SelectLocationHead.tsx +++ b/rsconcept/frontend/src/features/library/components/SelectLocationHead.tsx @@ -33,7 +33,7 @@ export function SelectLocationHead({ } return ( -
    +
    { return ( handleChange(head)} title={describeLocationHead(head)} - > -
    - - {labelLocationHead(head)} -
    -
    + icon={} + text={labelLocationHead(head)} + /> ); })} diff --git a/rsconcept/frontend/src/features/library/dialogs/DlgChangeLocation.tsx b/rsconcept/frontend/src/features/library/dialogs/DlgChangeLocation.tsx index 40a8f9fa..ec239774 100644 --- a/rsconcept/frontend/src/features/library/dialogs/DlgChangeLocation.tsx +++ b/rsconcept/frontend/src/features/library/dialogs/DlgChangeLocation.tsx @@ -59,7 +59,7 @@ export function DlgChangeLocation() { onSubmit={event => void handleSubmit(onSubmit)(event)} className={clsx('w-[35rem]', 'pb-3 px-6 flex gap-3 h-[9rem]')} > -
    +
    -
    -
    +
    +