diff --git a/src/components/Buttons/IconButton/iconbutton.stories.tsx b/src/components/Buttons/IconButton/myIconButton.stories.tsx similarity index 100% rename from src/components/Buttons/IconButton/iconbutton.stories.tsx rename to src/components/Buttons/IconButton/myIconButton.stories.tsx diff --git a/src/components/Buttons/IconButton/iconbutton.tsx b/src/components/Buttons/IconButton/myIconButton.tsx similarity index 100% rename from src/components/Buttons/IconButton/iconbutton.tsx rename to src/components/Buttons/IconButton/myIconButton.tsx diff --git a/src/components/buttons/button.stories.tsx b/src/components/Buttons/myButton.stories.tsx similarity index 99% rename from src/components/buttons/button.stories.tsx rename to src/components/Buttons/myButton.stories.tsx index d119e98..42431dc 100644 --- a/src/components/buttons/button.stories.tsx +++ b/src/components/Buttons/myButton.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { fn } from "@storybook/test"; -import Button from "./button"; +import Button from "./myButton"; import { ReactComponent as GoogleIcon } from "../../assets/vectors/jsx/HeaderSignInViewGoogle.svg"; import ExpandMore from "@mui/icons-material/ExpandMore"; import ExpandLess from "@mui/icons-material/ExpandLess"; diff --git a/src/components/buttons/button.tsx b/src/components/Buttons/myButton.tsx similarity index 100% rename from src/components/buttons/button.tsx rename to src/components/Buttons/myButton.tsx diff --git a/src/components/menu/MuiFormControl/MuiForm.stories.tsx b/src/components/Menu/MuiFormControl/myMuiForm.stories.tsx similarity index 100% rename from src/components/menu/MuiFormControl/MuiForm.stories.tsx rename to src/components/Menu/MuiFormControl/myMuiForm.stories.tsx diff --git a/src/components/menu/MuiFormControl/MuiForm.tsx b/src/components/Menu/MuiFormControl/myMuiForm.tsx similarity index 100% rename from src/components/menu/MuiFormControl/MuiForm.tsx rename to src/components/Menu/MuiFormControl/myMuiForm.tsx diff --git a/src/components/SearchInput/index.ts b/src/components/SearchInput/index.ts index dbee283..1f0f742 100644 --- a/src/components/SearchInput/index.ts +++ b/src/components/SearchInput/index.ts @@ -1 +1 @@ -export { MySearchInput } from "./SearchInput"; +export { mySearchInput } from "./mySearchInput"; diff --git a/src/components/SearchInput/SearchInput.stories.tsx b/src/components/SearchInput/mySearchInput.stories.tsx similarity index 96% rename from src/components/SearchInput/SearchInput.stories.tsx rename to src/components/SearchInput/mySearchInput.stories.tsx index d07ed2f..c834d5a 100644 --- a/src/components/SearchInput/SearchInput.stories.tsx +++ b/src/components/SearchInput/mySearchInput.stories.tsx @@ -1,6 +1,6 @@ import React from "react"; import type { Meta, StoryObj } from "@storybook/react"; -import { MySearchInput } from "./SearchInput"; +import { mySearchInput } from "./mySearchInput"; import { ReactComponent as ExplorerSearchIcon } from "../../assets/vectors/ExplorerSearchIcon.svg"; import colors from "../../theme/colorsSeaerchInput"; import { Box } from "@mui/material"; @@ -10,15 +10,15 @@ import IconButton from "@mui/material/IconButton"; const meta = { title: "Example/Search Input", - component: MySearchInput, + component: mySearchInput, parameters: { layout: "centered", }, tags: ["autodocs"], -} satisfies Meta; +} satisfies Meta; export default meta; -type Story = StoryObj; +type Story = StoryObj; // AIDA search input export const AIDASearchInput: Story = { diff --git a/src/components/SearchInput/SearchInput.tsx b/src/components/SearchInput/mySearchInput.tsx similarity index 98% rename from src/components/SearchInput/SearchInput.tsx rename to src/components/SearchInput/mySearchInput.tsx index d8c8e0f..40009e9 100644 --- a/src/components/SearchInput/SearchInput.tsx +++ b/src/components/SearchInput/mySearchInput.tsx @@ -45,7 +45,7 @@ interface SearchInputProps extends Boxprops { inputpadding?: string; } -export function MySearchInput(props: Readonly) { +export function mySearchInput(props: Readonly) { const { display, background = colors.secondary.disableButton, diff --git a/src/components/Tables/TabulatorTables/data.ts b/src/components/Tables/TabulatorTables/data.ts index d697ae9..a570c01 100644 --- a/src/components/Tables/TabulatorTables/data.ts +++ b/src/components/Tables/TabulatorTables/data.ts @@ -5,7 +5,7 @@ import { ColumnDefinition, TabulatorFull as Tabulator, } from "tabulator-tables"; -import { TableDataItem } from "./tabulatorTables"; +import { TableDataItem } from "./myTabulatorTable"; export const TABULATOR_BORDER_STYLES = { BLUE: "2px solid blue", diff --git a/src/components/Tables/TabulatorTables/tabulatorTables.stories.tsx b/src/components/Tables/TabulatorTables/myTabulatorTable.stories.tsx similarity index 99% rename from src/components/Tables/TabulatorTables/tabulatorTables.stories.tsx rename to src/components/Tables/TabulatorTables/myTabulatorTable.stories.tsx index 13b3e20..1849098 100644 --- a/src/components/Tables/TabulatorTables/tabulatorTables.stories.tsx +++ b/src/components/Tables/TabulatorTables/myTabulatorTable.stories.tsx @@ -1,5 +1,5 @@ import type { Meta, StoryObj } from "@storybook/react"; -import TabulatorTable from "./tabulatorTables"; +import TabulatorTable from "./myTabulatorTable"; import { withRouter } from "storybook-addon-remix-react-router"; import { TABLE_VARIATION_5_DATA, diff --git a/src/components/Tables/TabulatorTables/tabulatorTables.tsx b/src/components/Tables/TabulatorTables/myTabulatorTable.tsx similarity index 100% rename from src/components/Tables/TabulatorTables/tabulatorTables.tsx rename to src/components/Tables/TabulatorTables/myTabulatorTable.tsx diff --git a/src/components/buttons/index.ts b/src/components/buttons/index.ts index ab5e333..975f964 100644 --- a/src/components/buttons/index.ts +++ b/src/components/buttons/index.ts @@ -1,2 +1,2 @@ -export { default as Button } from "./button"; -export { default as IconButton } from "./IconButton/iconbutton"; +export { default as Button } from "./myButton"; +export { default as IconButton } from "./IconButton/myIconButton"; diff --git a/src/components/menu/MuiFormControl/index.ts b/src/components/menu/MuiFormControl/index.ts index 23a1639..3ee733d 100644 --- a/src/components/menu/MuiFormControl/index.ts +++ b/src/components/menu/MuiFormControl/index.ts @@ -1 +1 @@ -export { default as formComponent } from "./MuiForm"; +export { default as formComponent } from "./myMuiForm";