Skip to content

Commit

Permalink
fix: broken imports in odyssey-react-mui after flattening
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGhadyani-Okta committed Oct 13, 2022
1 parent 305eeab commit 1fbdfb9
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/Icon.tsx
Expand Up @@ -11,7 +11,7 @@
*/

import { forwardRef } from "react";
import type { SvgIconNoChildrenProps } from "./types";
import type { SvgIconNoChildrenProps } from "./iconDictionary/types";
import { iconDictionary } from "./iconDictionary";

export interface IconProps extends SvgIconNoChildrenProps {
Expand Down
5 changes: 3 additions & 2 deletions packages/odyssey-react-mui/src/PasswordInput.test.tsx
Expand Up @@ -11,8 +11,9 @@
*/

import { render, screen } from "@testing-library/react";
import { a11yCheck } from "../../../test";
import { PasswordInput } from ".";

import { a11yCheck } from "./a11yCheck";
import { PasswordInput } from "./PasswordInput";

const label = "Password";
const tooltipOnLabel = "Show password";
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/PasswordInput.tsx
Expand Up @@ -22,7 +22,7 @@ import {
InputAdornment,
} from "@mui/material";
import { Visibility, VisibilityOff } from "@mui/icons-material";
import { useUniqueId } from "../../utils";
import { useUniqueId } from "./useUniqueId";

interface State {
password: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/ThemeProvider.tsx
Expand Up @@ -13,7 +13,7 @@
import { ThemeProvider as MuiThemeProvider } from "@mui/material/styles";
import { ReactElement } from "react";

import { odysseyTheme } from "../../themes";
import { odysseyTheme } from "./theme";

export const ThemeProvider = ({ children }: { children: ReactElement }) => (
<MuiThemeProvider theme={odysseyTheme}>{children}</MuiThemeProvider>
Expand Down
File renamed without changes.
Expand Up @@ -12,8 +12,6 @@

// Code automatically generated by svgr; DO NOT EDIT.

export * from "./Icon";

import { AddCircleIcon } from "./AddCircle";
export * from "./AddCircle";

Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/theme/components.tsx
Expand Up @@ -25,7 +25,7 @@ import {
ArrowDownIcon,
CheckCircleFilledIcon,
InformationCircleFilledIcon,
} from "../../components/Icon";
} from "../iconDictionary";

export const components: ThemeOptions["components"] = {
MuiAlert: {
Expand Down
13 changes: 0 additions & 13 deletions packages/odyssey-react-mui/test/index.ts

This file was deleted.

0 comments on commit 1fbdfb9

Please sign in to comment.