diff --git a/rsconcept/frontend/src/app/application-layout.tsx b/rsconcept/frontend/src/app/application-layout.tsx index 84cb4c60..bb4e5f8c 100644 --- a/rsconcept/frontend/src/app/application-layout.tsx +++ b/rsconcept/frontend/src/app/application-layout.tsx @@ -1,18 +1,18 @@ import { Suspense } from 'react'; import { Outlet } from 'react-router'; -import { ModalLoader } from '@/components/modal1'; +import { ModalLoader } from '@/components/modal'; import { useAppLayoutStore, useMainHeight, useViewportHeight } from '@/stores/app-layout'; import { useDialogsStore } from '@/stores/dialogs'; -import { NavigationState } from './navigation1/navigation-context'; -import { Footer } from './footer1'; +import { NavigationState } from './navigation/navigation-context'; +import { Footer } from './footer'; import { GlobalDialogs } from './global-dialogs'; import { GlobalLoader } from './global-Loader'; import { ToasterThemed } from './global-toaster'; import { GlobalTooltips } from './global-tooltips'; import { MutationErrors } from './mutation-errors'; -import { Navigation } from './navigation1'; +import { Navigation } from './navigation'; export function ApplicationLayout() { const mainHeight = useMainHeight(); diff --git a/rsconcept/frontend/src/app/error-fallback.tsx b/rsconcept/frontend/src/app/error-fallback.tsx index e02a9654..46e597a2 100644 --- a/rsconcept/frontend/src/app/error-fallback.tsx +++ b/rsconcept/frontend/src/app/error-fallback.tsx @@ -1,6 +1,6 @@ import { useNavigate, useRouteError } from 'react-router'; -import { Button } from '@/components/control1'; +import { Button } from '@/components/control'; import { InfoError } from '@/components/info-error'; export function ErrorFallback() { diff --git a/rsconcept/frontend/src/app/footer1.tsx b/rsconcept/frontend/src/app/footer.tsx similarity index 94% rename from rsconcept/frontend/src/app/footer1.tsx rename to rsconcept/frontend/src/app/footer.tsx index 23222843..74371692 100644 --- a/rsconcept/frontend/src/app/footer1.tsx +++ b/rsconcept/frontend/src/app/footer.tsx @@ -1,6 +1,6 @@ import clsx from 'clsx'; -import { TextURL } from '@/components/control1'; +import { TextURL } from '@/components/control'; import { external_urls } from '@/utils/constants'; export function Footer() { diff --git a/rsconcept/frontend/src/app/global-Loader.tsx b/rsconcept/frontend/src/app/global-Loader.tsx index 72bf9f28..eaab1546 100644 --- a/rsconcept/frontend/src/app/global-Loader.tsx +++ b/rsconcept/frontend/src/app/global-Loader.tsx @@ -1,8 +1,8 @@ import { useNavigation } from 'react-router'; import { useDebounce } from 'use-debounce'; -import { Loader } from '@/components/loader1'; -import { ModalBackdrop } from '@/components/modal1/modal-backdrop'; +import { Loader } from '@/components/loader'; +import { ModalBackdrop } from '@/components/modal/modal-backdrop'; import { PARAMETER } from '@/utils/constants'; export function GlobalLoader() { diff --git a/rsconcept/frontend/src/app/global-tooltips.tsx b/rsconcept/frontend/src/app/global-tooltips.tsx index 179c4326..adff5fb9 100644 --- a/rsconcept/frontend/src/app/global-tooltips.tsx +++ b/rsconcept/frontend/src/app/global-tooltips.tsx @@ -1,6 +1,6 @@ 'use client'; -import { Tooltip } from '@/components/container1'; +import { Tooltip } from '@/components/container'; import { globalIDs } from '@/utils/constants'; export const GlobalTooltips = () => { diff --git a/rsconcept/frontend/src/app/index.tsx b/rsconcept/frontend/src/app/index.tsx index ab7f9e01..9ae74cb6 100644 --- a/rsconcept/frontend/src/app/index.tsx +++ b/rsconcept/frontend/src/app/index.tsx @@ -3,7 +3,7 @@ export { useBlockNavigation } from './navigation1/navigation-context'; export { urls } from './urls'; import { RouterProvider } from 'react-router'; -import { Router } from './router1'; +import { Router } from './router'; export function App() { return ; diff --git a/rsconcept/frontend/src/app/mutation-errors.tsx b/rsconcept/frontend/src/app/mutation-errors.tsx index c5754947..e633b969 100644 --- a/rsconcept/frontend/src/app/mutation-errors.tsx +++ b/rsconcept/frontend/src/app/mutation-errors.tsx @@ -1,7 +1,7 @@ import { useMutationErrors } from '@/backend/use-mutation-errors'; -import { Button } from '@/components/control1'; +import { Button } from '@/components/control'; import { DescribeError } from '@/components/info-error'; -import { ModalBackdrop } from '@/components/modal1/modal-backdrop'; +import { ModalBackdrop } from '@/components/modal/modal-backdrop'; import { useEscapeKey } from '@/hooks/use-escape-key'; import { useDialogsStore } from '@/stores/dialogs'; diff --git a/rsconcept/frontend/src/app/navigation/index.tsx b/rsconcept/frontend/src/app/navigation/index.tsx new file mode 100644 index 00000000..efb95db0 --- /dev/null +++ b/rsconcept/frontend/src/app/navigation/index.tsx @@ -0,0 +1 @@ +export { Navigation } from './navigation'; diff --git a/rsconcept/frontend/src/app/navigation1/logo1.tsx b/rsconcept/frontend/src/app/navigation/logo.tsx similarity index 100% rename from rsconcept/frontend/src/app/navigation1/logo1.tsx rename to rsconcept/frontend/src/app/navigation/logo.tsx diff --git a/rsconcept/frontend/src/app/navigation1/navigation-button.tsx b/rsconcept/frontend/src/app/navigation/navigation-button.tsx similarity index 100% rename from rsconcept/frontend/src/app/navigation1/navigation-button.tsx rename to rsconcept/frontend/src/app/navigation/navigation-button.tsx diff --git a/rsconcept/frontend/src/app/navigation1/navigation-context.tsx b/rsconcept/frontend/src/app/navigation/navigation-context.tsx similarity index 100% rename from rsconcept/frontend/src/app/navigation1/navigation-context.tsx rename to rsconcept/frontend/src/app/navigation/navigation-context.tsx diff --git a/rsconcept/frontend/src/app/navigation1/navigation1.tsx b/rsconcept/frontend/src/app/navigation/navigation.tsx similarity index 97% rename from rsconcept/frontend/src/app/navigation1/navigation1.tsx rename to rsconcept/frontend/src/app/navigation/navigation.tsx index ca91a6cf..d12d0cbb 100644 --- a/rsconcept/frontend/src/app/navigation1/navigation1.tsx +++ b/rsconcept/frontend/src/app/navigation/navigation.tsx @@ -1,10 +1,10 @@ -import { IconLibrary2, IconManuals, IconNewItem2 } from '@/components/icons1'; +import { IconLibrary2, IconManuals, IconNewItem2 } from '@/components/icons'; import { useWindowSize } from '@/hooks/use-window-size'; import { useAppLayoutStore } from '@/stores/app-layout'; import { urls } from '../urls'; -import { Logo } from './logo1'; +import { Logo } from './logo'; import { NavigationButton } from './navigation-button'; import { useConceptNavigation } from './navigation-context'; import { ToggleNavigation } from './toggle-navigation'; diff --git a/rsconcept/frontend/src/app/navigation1/toggle-navigation.tsx b/rsconcept/frontend/src/app/navigation/toggle-navigation.tsx similarity index 98% rename from rsconcept/frontend/src/app/navigation1/toggle-navigation.tsx rename to rsconcept/frontend/src/app/navigation/toggle-navigation.tsx index 3ab5d237..f0ba576d 100644 --- a/rsconcept/frontend/src/app/navigation1/toggle-navigation.tsx +++ b/rsconcept/frontend/src/app/navigation/toggle-navigation.tsx @@ -1,6 +1,6 @@ 'use client'; -import { IconDarkTheme, IconLightTheme, IconPin, IconUnpin } from '@/components/icons1'; +import { IconDarkTheme, IconLightTheme, IconPin, IconUnpin } from '@/components/icons'; import { useAppLayoutStore } from '@/stores/app-layout'; import { usePreferencesStore } from '@/stores/preferences'; import { globalIDs } from '@/utils/constants'; diff --git a/rsconcept/frontend/src/app/navigation1/user-button.tsx b/rsconcept/frontend/src/app/navigation/user-button.tsx similarity index 95% rename from rsconcept/frontend/src/app/navigation1/user-button.tsx rename to rsconcept/frontend/src/app/navigation/user-button.tsx index d2b28e83..c381d97a 100644 --- a/rsconcept/frontend/src/app/navigation1/user-button.tsx +++ b/rsconcept/frontend/src/app/navigation/user-button.tsx @@ -1,6 +1,6 @@ import { useAuthSuspense } from '@/features/auth'; -import { IconLogin, IconUser2 } from '@/components/icons1'; +import { IconLogin, IconUser2 } from '@/components/icons'; import { usePreferencesStore } from '@/stores/preferences'; import { globalIDs } from '@/utils/constants'; diff --git a/rsconcept/frontend/src/app/navigation1/user-dropdown.tsx b/rsconcept/frontend/src/app/navigation/user-dropdown.tsx similarity index 97% rename from rsconcept/frontend/src/app/navigation1/user-dropdown.tsx rename to rsconcept/frontend/src/app/navigation/user-dropdown.tsx index 53deacc8..2375ac2a 100644 --- a/rsconcept/frontend/src/app/navigation1/user-dropdown.tsx +++ b/rsconcept/frontend/src/app/navigation/user-dropdown.tsx @@ -1,7 +1,7 @@ import { useAuthSuspense } from '@/features/auth'; import { useLogout } from '@/features/auth/backend/use-logout'; -import { Dropdown, DropdownButton } from '@/components/dropdown1'; +import { Dropdown, DropdownButton } from '@/components/dropdown'; import { IconAdmin, IconAdminOff, @@ -15,7 +15,7 @@ import { IconLogout, IconRESTapi, IconUser -} from '@/components/icons1'; +} from '@/components/icons'; import { usePreferencesStore } from '@/stores/preferences'; import { globalIDs } from '@/utils/constants'; diff --git a/rsconcept/frontend/src/app/navigation1/user-menu.tsx b/rsconcept/frontend/src/app/navigation/user-menu.tsx similarity index 88% rename from rsconcept/frontend/src/app/navigation1/user-menu.tsx rename to rsconcept/frontend/src/app/navigation/user-menu.tsx index 8fa6859d..5ff80daa 100644 --- a/rsconcept/frontend/src/app/navigation1/user-menu.tsx +++ b/rsconcept/frontend/src/app/navigation/user-menu.tsx @@ -1,7 +1,7 @@ import { Suspense } from 'react'; -import { useDropdown } from '@/components/dropdown1'; -import { Loader } from '@/components/loader1'; +import { useDropdown } from '@/components/dropdown'; +import { Loader } from '@/components/loader'; import { urls } from '../urls'; diff --git a/rsconcept/frontend/src/app/navigation1/index.tsx b/rsconcept/frontend/src/app/navigation1/index.tsx deleted file mode 100644 index 31ba062c..00000000 --- a/rsconcept/frontend/src/app/navigation1/index.tsx +++ /dev/null @@ -1 +0,0 @@ -export { Navigation } from './navigation1'; diff --git a/rsconcept/frontend/src/app/router1.tsx b/rsconcept/frontend/src/app/router.tsx similarity index 98% rename from rsconcept/frontend/src/app/router1.tsx rename to rsconcept/frontend/src/app/router.tsx index b0b9e382..4031ea8f 100644 --- a/rsconcept/frontend/src/app/router1.tsx +++ b/rsconcept/frontend/src/app/router.tsx @@ -11,7 +11,7 @@ import { prefetchRSForm } from '@/features/rsform/backend/use-rsform'; import { prefetchProfile } from '@/features/users/backend/use-profile'; import { prefetchUsers } from '@/features/users/backend/use-users'; -import { Loader } from '@/components/loader1'; +import { Loader } from '@/components/loader'; import { ApplicationLayout } from './application-layout'; import { ErrorFallback } from './error-fallback'; diff --git a/rsconcept/frontend/src/components/container1/divider1.tsx b/rsconcept/frontend/src/components/container/divider.tsx similarity index 100% rename from rsconcept/frontend/src/components/container1/divider1.tsx rename to rsconcept/frontend/src/components/container/divider.tsx diff --git a/rsconcept/frontend/src/components/container/index.tsx b/rsconcept/frontend/src/components/container/index.tsx new file mode 100644 index 00000000..7e764f72 --- /dev/null +++ b/rsconcept/frontend/src/components/container/index.tsx @@ -0,0 +1,2 @@ +export { Divider } from './divider'; +export { type PlacesType, Tooltip } from './tooltip'; diff --git a/rsconcept/frontend/src/components/container1/tooltip1.tsx b/rsconcept/frontend/src/components/container/tooltip.tsx similarity index 100% rename from rsconcept/frontend/src/components/container1/tooltip1.tsx rename to rsconcept/frontend/src/components/container/tooltip.tsx diff --git a/rsconcept/frontend/src/components/container1/index.tsx b/rsconcept/frontend/src/components/container1/index.tsx deleted file mode 100644 index cec5ed98..00000000 --- a/rsconcept/frontend/src/components/container1/index.tsx +++ /dev/null @@ -1,2 +0,0 @@ -export { Divider } from './divider1'; -export { type PlacesType, Tooltip } from './tooltip1'; diff --git a/rsconcept/frontend/src/components/control1/button1.tsx b/rsconcept/frontend/src/components/control/button.tsx similarity index 100% rename from rsconcept/frontend/src/components/control1/button1.tsx rename to rsconcept/frontend/src/components/control/button.tsx diff --git a/rsconcept/frontend/src/components/control1/index.tsx b/rsconcept/frontend/src/components/control/index.tsx similarity index 83% rename from rsconcept/frontend/src/components/control1/index.tsx rename to rsconcept/frontend/src/components/control/index.tsx index 06f9a81a..b9ad1002 100644 --- a/rsconcept/frontend/src/components/control1/index.tsx +++ b/rsconcept/frontend/src/components/control/index.tsx @@ -1,4 +1,4 @@ -export { Button } from './button1'; +export { Button } from './button'; export { MiniButton } from './mini-button'; export { SelectorButton } from './selector-button'; export { SubmitButton } from './submit-button'; diff --git a/rsconcept/frontend/src/components/control1/mini-button.tsx b/rsconcept/frontend/src/components/control/mini-button.tsx similarity index 100% rename from rsconcept/frontend/src/components/control1/mini-button.tsx rename to rsconcept/frontend/src/components/control/mini-button.tsx diff --git a/rsconcept/frontend/src/components/control1/selector-button.tsx b/rsconcept/frontend/src/components/control/selector-button.tsx similarity index 100% rename from rsconcept/frontend/src/components/control1/selector-button.tsx rename to rsconcept/frontend/src/components/control/selector-button.tsx diff --git a/rsconcept/frontend/src/components/control1/submit-button.tsx b/rsconcept/frontend/src/components/control/submit-button.tsx similarity index 100% rename from rsconcept/frontend/src/components/control1/submit-button.tsx rename to rsconcept/frontend/src/components/control/submit-button.tsx diff --git a/rsconcept/frontend/src/components/control1/text-url.tsx b/rsconcept/frontend/src/components/control/text-url.tsx similarity index 100% rename from rsconcept/frontend/src/components/control1/text-url.tsx rename to rsconcept/frontend/src/components/control/text-url.tsx diff --git a/rsconcept/frontend/src/components/data-table/pagination-tools.tsx b/rsconcept/frontend/src/components/data-table/pagination-tools.tsx index ecb66ab5..4fe93cdd 100644 --- a/rsconcept/frontend/src/components/data-table/pagination-tools.tsx +++ b/rsconcept/frontend/src/components/data-table/pagination-tools.tsx @@ -6,7 +6,7 @@ import { type Table } from '@tanstack/react-table'; import { prefixes } from '@/utils/constants'; -import { IconPageFirst, IconPageLast, IconPageLeft, IconPageRight } from '../icons1'; +import { IconPageFirst, IconPageLast, IconPageLeft, IconPageRight } from '../icons'; interface PaginationToolsProps { id?: string; diff --git a/rsconcept/frontend/src/components/data-table/select-all.tsx b/rsconcept/frontend/src/components/data-table/select-all.tsx index 8e8cb6e0..167120dd 100644 --- a/rsconcept/frontend/src/components/data-table/select-all.tsx +++ b/rsconcept/frontend/src/components/data-table/select-all.tsx @@ -2,7 +2,7 @@ import { type Table } from '@tanstack/react-table'; -import { CheckboxTristate } from '../input1'; +import { CheckboxTristate } from '../input'; interface SelectAllProps { table: Table; diff --git a/rsconcept/frontend/src/components/data-table/select-row.tsx b/rsconcept/frontend/src/components/data-table/select-row.tsx index f255303d..b77482a4 100644 --- a/rsconcept/frontend/src/components/data-table/select-row.tsx +++ b/rsconcept/frontend/src/components/data-table/select-row.tsx @@ -2,7 +2,7 @@ import { type Row } from '@tanstack/react-table'; -import { Checkbox } from '../input1'; +import { Checkbox } from '../input'; interface SelectRowProps { row: Row; diff --git a/rsconcept/frontend/src/components/data-table/sorting-icon.tsx b/rsconcept/frontend/src/components/data-table/sorting-icon.tsx index 7e516774..4503b582 100644 --- a/rsconcept/frontend/src/components/data-table/sorting-icon.tsx +++ b/rsconcept/frontend/src/components/data-table/sorting-icon.tsx @@ -2,7 +2,7 @@ import { type Column } from '@tanstack/react-table'; -import { IconSortAsc, IconSortDesc } from '../icons1'; +import { IconSortAsc, IconSortDesc } from '../icons'; interface SortingIconProps { column: Column; diff --git a/rsconcept/frontend/src/components/dropdown1/dropdown-button.tsx b/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx similarity index 100% rename from rsconcept/frontend/src/components/dropdown1/dropdown-button.tsx rename to rsconcept/frontend/src/components/dropdown/dropdown-button.tsx diff --git a/rsconcept/frontend/src/components/dropdown1/dropdown-checkbox.tsx b/rsconcept/frontend/src/components/dropdown/dropdown-checkbox.tsx similarity index 90% rename from rsconcept/frontend/src/components/dropdown1/dropdown-checkbox.tsx rename to rsconcept/frontend/src/components/dropdown/dropdown-checkbox.tsx index 2db9baa2..dfb0bab6 100644 --- a/rsconcept/frontend/src/components/dropdown1/dropdown-checkbox.tsx +++ b/rsconcept/frontend/src/components/dropdown/dropdown-checkbox.tsx @@ -1,6 +1,6 @@ import clsx from 'clsx'; -import { Checkbox, type CheckboxProps } from '../input1'; +import { Checkbox, type CheckboxProps } from '../input'; /** Animated {@link Checkbox} inside a {@link Dropdown} item. */ export function DropdownCheckbox({ onChange: setValue, disabled, ...restProps }: CheckboxProps) { diff --git a/rsconcept/frontend/src/components/dropdown1/dropdown1.tsx b/rsconcept/frontend/src/components/dropdown/dropdown.tsx similarity index 100% rename from rsconcept/frontend/src/components/dropdown1/dropdown1.tsx rename to rsconcept/frontend/src/components/dropdown/dropdown.tsx diff --git a/rsconcept/frontend/src/components/dropdown1/index.tsx b/rsconcept/frontend/src/components/dropdown/index.tsx similarity index 79% rename from rsconcept/frontend/src/components/dropdown1/index.tsx rename to rsconcept/frontend/src/components/dropdown/index.tsx index cf1e13c1..c0dd4aa1 100644 --- a/rsconcept/frontend/src/components/dropdown1/index.tsx +++ b/rsconcept/frontend/src/components/dropdown/index.tsx @@ -1,4 +1,4 @@ export { DropdownButton } from './dropdown-button'; export { DropdownCheckbox } from './dropdown-checkbox'; -export { Dropdown } from './dropdown1'; +export { Dropdown } from './dropdown'; export { useDropdown } from './use-dropdown'; diff --git a/rsconcept/frontend/src/components/dropdown1/use-dropdown.ts b/rsconcept/frontend/src/components/dropdown/use-dropdown.ts similarity index 100% rename from rsconcept/frontend/src/components/dropdown1/use-dropdown.ts rename to rsconcept/frontend/src/components/dropdown/use-dropdown.ts diff --git a/rsconcept/frontend/src/components/flow1/dynamic-edge.tsx b/rsconcept/frontend/src/components/flow/dynamic-edge.tsx similarity index 100% rename from rsconcept/frontend/src/components/flow1/dynamic-edge.tsx rename to rsconcept/frontend/src/components/flow/dynamic-edge.tsx diff --git a/rsconcept/frontend/src/components/icons1.tsx b/rsconcept/frontend/src/components/icons.tsx similarity index 100% rename from rsconcept/frontend/src/components/icons1.tsx rename to rsconcept/frontend/src/components/icons.tsx diff --git a/rsconcept/frontend/src/components/info-error.tsx b/rsconcept/frontend/src/components/info-error.tsx index 474b6b80..73ebddae 100644 --- a/rsconcept/frontend/src/components/info-error.tsx +++ b/rsconcept/frontend/src/components/info-error.tsx @@ -4,7 +4,7 @@ import { ZodError } from 'zod'; import { type AxiosError, isAxiosError } from '@/backend/api-transport'; import { isResponseHtml } from '@/utils/utils'; -import { PrettyJson } from './view1'; +import { PrettyJson } from './view'; export type ErrorData = string | Error | AxiosError | ZodError; diff --git a/rsconcept/frontend/src/components/input1/checkbox-tristate.tsx b/rsconcept/frontend/src/components/input/checkbox-tristate.tsx similarity index 94% rename from rsconcept/frontend/src/components/input1/checkbox-tristate.tsx rename to rsconcept/frontend/src/components/input/checkbox-tristate.tsx index 3c0311dc..1c0dcd2a 100644 --- a/rsconcept/frontend/src/components/input1/checkbox-tristate.tsx +++ b/rsconcept/frontend/src/components/input/checkbox-tristate.tsx @@ -2,9 +2,9 @@ import clsx from 'clsx'; import { globalIDs } from '@/utils/constants'; -import { CheckboxChecked, CheckboxNull } from '../icons1'; +import { CheckboxChecked, CheckboxNull } from '../icons'; -import { type CheckboxProps } from './checkbox1'; +import { type CheckboxProps } from './checkbox'; export interface CheckboxTristateProps extends Omit { /** Current value - `null`, `true` or `false`. */ diff --git a/rsconcept/frontend/src/components/input1/checkbox1.tsx b/rsconcept/frontend/src/components/input/checkbox.tsx similarity index 97% rename from rsconcept/frontend/src/components/input1/checkbox1.tsx rename to rsconcept/frontend/src/components/input/checkbox.tsx index 79a38f29..e6f612fe 100644 --- a/rsconcept/frontend/src/components/input1/checkbox1.tsx +++ b/rsconcept/frontend/src/components/input/checkbox.tsx @@ -2,7 +2,7 @@ import clsx from 'clsx'; import { globalIDs } from '@/utils/constants'; -import { CheckboxChecked } from '../icons1'; +import { CheckboxChecked } from '../icons'; import { type Button } from '../props'; export interface CheckboxProps extends Omit { diff --git a/rsconcept/frontend/src/components/input1/error-field.tsx b/rsconcept/frontend/src/components/input/error-field.tsx similarity index 100% rename from rsconcept/frontend/src/components/input1/error-field.tsx rename to rsconcept/frontend/src/components/input/error-field.tsx diff --git a/rsconcept/frontend/src/components/input1/file-input.tsx b/rsconcept/frontend/src/components/input/file-input.tsx similarity index 93% rename from rsconcept/frontend/src/components/input1/file-input.tsx rename to rsconcept/frontend/src/components/input/file-input.tsx index 21629d52..3f28a9e0 100644 --- a/rsconcept/frontend/src/components/input1/file-input.tsx +++ b/rsconcept/frontend/src/components/input/file-input.tsx @@ -3,11 +3,11 @@ import { useRef, useState } from 'react'; import clsx from 'clsx'; -import { Button } from '../control1'; -import { IconUpload } from '../icons1'; +import { Button } from '../control'; +import { IconUpload } from '../icons'; import { type Titled } from '../props'; -import { Label } from './label1'; +import { Label } from './label'; interface FileInputProps extends Titled, Omit, 'accept' | 'type'> { /** Label to display in file upload button. */ diff --git a/rsconcept/frontend/src/components/input1/index.tsx b/rsconcept/frontend/src/components/input/index.tsx similarity index 82% rename from rsconcept/frontend/src/components/input1/index.tsx rename to rsconcept/frontend/src/components/input/index.tsx index e67a7cae..af613602 100644 --- a/rsconcept/frontend/src/components/input1/index.tsx +++ b/rsconcept/frontend/src/components/input/index.tsx @@ -1,8 +1,8 @@ export { CheckboxTristate } from './checkbox-tristate'; -export { Checkbox, type CheckboxProps } from './checkbox1'; +export { Checkbox, type CheckboxProps } from './checkbox'; export { ErrorField } from './error-field'; export { FileInput } from './file-input'; -export { Label } from './label1'; +export { Label } from './label'; export { SearchBar } from './search-bar'; export { SelectMulti, type SelectMultiProps } from './select-multi'; export { SelectSingle, type SelectSingleProps } from './select-single'; diff --git a/rsconcept/frontend/src/components/input1/label1.tsx b/rsconcept/frontend/src/components/input/label.tsx similarity index 100% rename from rsconcept/frontend/src/components/input1/label1.tsx rename to rsconcept/frontend/src/components/input/label.tsx diff --git a/rsconcept/frontend/src/components/input1/search-bar.tsx b/rsconcept/frontend/src/components/input/search-bar.tsx similarity index 96% rename from rsconcept/frontend/src/components/input1/search-bar.tsx rename to rsconcept/frontend/src/components/input/search-bar.tsx index 1c49ad84..90381817 100644 --- a/rsconcept/frontend/src/components/input1/search-bar.tsx +++ b/rsconcept/frontend/src/components/input/search-bar.tsx @@ -1,6 +1,6 @@ import clsx from 'clsx'; -import { IconSearch } from '@/components/icons1'; +import { IconSearch } from '@/components/icons'; import { type Styling } from '@/components/props'; import { TextInput } from './text-input'; diff --git a/rsconcept/frontend/src/components/input1/select-multi.tsx b/rsconcept/frontend/src/components/input/select-multi.tsx similarity index 99% rename from rsconcept/frontend/src/components/input1/select-multi.tsx rename to rsconcept/frontend/src/components/input/select-multi.tsx index ae01918c..3ef4009d 100644 --- a/rsconcept/frontend/src/components/input1/select-multi.tsx +++ b/rsconcept/frontend/src/components/input/select-multi.tsx @@ -12,7 +12,7 @@ import Select, { import { useWindowSize } from '@/hooks/use-window-size'; import { APP_COLORS, SELECT_THEME } from '@/styling/colors'; -import { IconClose, IconDropArrow, IconDropArrowUp } from '../icons1'; +import { IconClose, IconDropArrow, IconDropArrowUp } from '../icons'; function DropdownIndicator = GroupBase