diff --git a/rsconcept/frontend/src/components/Icons.tsx b/rsconcept/frontend/src/components/Icons.tsx index e2eb5f53..80a226ef 100644 --- a/rsconcept/frontend/src/components/Icons.tsx +++ b/rsconcept/frontend/src/components/Icons.tsx @@ -119,18 +119,10 @@ export function ShareIcon(props: IconProps) { ); } -export function FilterCogIcon(props: IconProps) { - return ( - - - - ); -} - export function FilterIcon(props: IconProps) { return ( - + ); } @@ -228,10 +220,10 @@ export function DownloadIcon(props: IconProps) { ); } -export function CrownIcon(props: IconProps) { +export function OwnerIcon(props: IconProps) { return ( - + ); } @@ -446,7 +438,8 @@ export function CheckIcon(props: IconProps) { export function CogIcon(props: IconProps) { return ( - + + ); } diff --git a/rsconcept/frontend/src/pages/LibraryPage/PickerStrategy.tsx b/rsconcept/frontend/src/pages/LibraryPage/PickerStrategy.tsx index 8f512f26..cd645267 100644 --- a/rsconcept/frontend/src/pages/LibraryPage/PickerStrategy.tsx +++ b/rsconcept/frontend/src/pages/LibraryPage/PickerStrategy.tsx @@ -3,7 +3,7 @@ import { useCallback } from 'react'; import Dropdown from '../../components/Common/Dropdown'; import DropdownCheckbox from '../../components/Common/DropdownCheckbox'; import SelectorButton from '../../components/Common/SelectorButton'; -import { FilterCogIcon } from '../../components/Icons'; +import { FilterIcon } from '../../components/Icons'; import { useAuth } from '../../context/AuthContext'; import useDropdown from '../../hooks/useDropdown'; import { LibraryFilterStrategy } from '../../models/miscelanious'; @@ -43,7 +43,7 @@ function PickerStrategy({ value, onChange }: PickerStrategyProps) { tooltip='Список фильтров' dimensions='w-fit h-full' transparent - icon={} + icon={} text={labelLibraryFilter(value)} tabIndex={-1} onClick={strategyMenu.toggle} diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx index 2a008ba1..6fa146f3 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx @@ -165,8 +165,8 @@ function EditorConstituenta({ onClick={onEditTerm} icon={} />} -
-
+
+
Конституента {alias}
@@ -178,7 +178,7 @@ function EditorConstituenta({ icon={} />
-
+
{(windowSize.width ?? 0) >= SIDELIST_HIDE_THRESHOLD && -
+
} + icon={} disabled={!isClaimable || !user} onClick={onClaim} /> diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx index a8ae910c..f6a68f78 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph.tsx @@ -10,7 +10,7 @@ import MiniButton from '../../components/Common/MiniButton'; import SelectSingle from '../../components/Common/SelectSingle'; import HelpTermGraph from '../../components/Help/HelpTermGraph'; import InfoConstituenta from '../../components/Help/InfoConstituenta'; -import { ArrowsRotateIcon, DumpBinIcon, FilterCogIcon, HelpIcon, SmallPlusIcon } from '../../components/Icons'; +import { ArrowsRotateIcon, DumpBinIcon, FilterIcon, HelpIcon, SmallPlusIcon } from '../../components/Icons'; import { useRSForm } from '../../context/RSFormContext'; import { useConceptTheme } from '../../context/ThemeContext'; import useLocalStorage from '../../hooks/useLocalStorage'; @@ -422,7 +422,7 @@ function EditorTermGraph({ onOpenEdit, onCreateCst, onDeleteCst }: EditorTermGra