R: Migrate to snake-case pt3
Some checks are pending
Frontend CI / build (22.x) (push) Waiting to run

This commit is contained in:
Ivan 2025-03-12 12:13:20 +03:00
parent 5c08f8e693
commit 4875a44555
12 changed files with 14 additions and 11 deletions

View File

@ -154,6 +154,8 @@
"rsforms",
"rsgraph",
"rslang",
"rslist",
"rstabs",
"rstemplates",
"setexpr",
"SIDELIST",

View File

@ -1,5 +1,5 @@
export { useConceptNavigation } from './navigation1/navigation-context';
export { useBlockNavigation } from './navigation1/navigation-context';
export { useConceptNavigation } from './navigation/navigation-context';
export { useBlockNavigation } from './navigation/navigation-context';
export { urls } from './urls';
import { RouterProvider } from 'react-router';

View File

@ -1,4 +1,4 @@
export { Dropdown } from './dropdown';
export { DropdownButton } from './dropdown-button';
export { DropdownCheckbox } from './dropdown-checkbox';
export { Dropdown } from './dropdown';
export { useDropdown } from './use-dropdown';

View File

@ -1,5 +1,5 @@
export { CheckboxTristate } from './checkbox-tristate';
export { Checkbox, type CheckboxProps } from './checkbox';
export { CheckboxTristate } from './checkbox-tristate';
export { ErrorField } from './error-field';
export { FileInput } from './file-input';
export { Label } from './label';

View File

@ -1,9 +1,9 @@
import clsx from 'clsx';
import { Label } from './label';
import { type Editor, type ErrorProcessing, type Titled } from '../props';
import { ErrorField } from './error-field';
import { Label } from './label';
export interface TextAreaProps extends Editor, ErrorProcessing, Titled, React.ComponentProps<'textarea'> {
/** Indicates that the input should be transparent. */

View File

@ -1,9 +1,9 @@
import clsx from 'clsx';
import { Label } from './label';
import { type Editor, type ErrorProcessing, type Titled } from '../props';
import { ErrorField } from './error-field';
import { Label } from './label';
interface TextInputProps extends Editor, ErrorProcessing, Titled, React.ComponentProps<'input'> {
/** Indicates that the input should be transparent. */

View File

@ -1,5 +1,5 @@
export { EmbedYoutube } from './embed-youtube';
export { Indicator } from './indicator1';
export { Indicator } from './indicator';
export { NoData } from './no-data';
export { PDFViewer } from './pdf-viewer';
export { PrettyJson } from './pretty-json';

View File

@ -1,9 +1,10 @@
import { removeTags } from '@/utils/utils';
import { LinkTopic } from './link-topic';
import { describeHelpTopic, labelHelpTopic } from '../labels';
import { type HelpTopic } from '../models/help-topic';
import { LinkTopic } from './link-topic';
interface TopicItemProps {
topic: HelpTopic;
}

View File

@ -2,7 +2,7 @@
import { useLayoutEffect } from 'react';
import { useConceptNavigation } from '@/app/navigation1/navigation-context';
import { useConceptNavigation } from '@/app/navigation/navigation-context';
import { TabLabel, TabList, TabPanel, Tabs } from '@/components/tabs';
import { useAppLayoutStore } from '@/stores/app-layout';

View File

@ -2,7 +2,7 @@
import { useLayoutEffect } from 'react';
import { useConceptNavigation } from '@/app/navigation1/navigation-context';
import { useConceptNavigation } from '@/app/navigation/navigation-context';
import { TabLabel, TabList, TabPanel, Tabs } from '@/components/tabs';
import { useAppLayoutStore } from '@/stores/app-layout';

View File

@ -4,11 +4,11 @@ import { MiniButton } from '@/components/control';
import { IconChild } from '@/components/icons';
import { SearchBar } from '@/components/input';
import { SelectMatchMode } from './select-match-mode';
import { useCstSearchStore } from '../../../stores/cst-search';
import { useRSEdit } from '../rsedit-context';
import { SelectGraphFilter } from './select-graph-filter';
import { SelectMatchMode } from './select-match-mode';
interface ConstituentsSearchProps {
dense?: boolean;