Skip to content

Commit

Permalink
fix: flattened odyssey-react-mui for better DX
Browse files Browse the repository at this point in the history
Breaks functionality for anyone importing components directly rather than from the library root.
  • Loading branch information
KevinGhadyani-Okta committed Oct 13, 2022
1 parent 1dfbcba commit 305eeab
Show file tree
Hide file tree
Showing 71 changed files with 9 additions and 87 deletions.
Expand Up @@ -12,7 +12,7 @@

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

export interface IconProps extends SvgIconNoChildrenProps {
/**
Expand Down
File renamed without changes.
13 changes: 0 additions & 13 deletions packages/odyssey-react-mui/src/components/Link/index.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions packages/odyssey-react-mui/src/components/PasswordInput/index.ts

This file was deleted.

13 changes: 0 additions & 13 deletions packages/odyssey-react-mui/src/components/ThemeProvider/index.ts

This file was deleted.

16 changes: 0 additions & 16 deletions packages/odyssey-react-mui/src/components/index.ts

This file was deleted.

12 changes: 8 additions & 4 deletions packages/odyssey-react-mui/src/index.ts
Expand Up @@ -10,6 +10,14 @@
* See the License for the specific language governing permissions and limitations under the License.
*/

export * from "./createUniqueId";
export * from "./Icon";
export * from "./iconDictionary";
export * from "./Link";
export * from "./PasswordInput";
export * from "./ThemeProvider";
export * from "./useUniqueId";

export {
Alert,
AlertTitle,
Expand Down Expand Up @@ -88,7 +96,3 @@ export type { TabContextProps, TabListProps, TabPanelProps } from "@mui/lab";
export { Favorite as FavoriteIcon } from "@mui/icons-material";

export { visuallyHidden } from "@mui/utils";

export * from "./components";
export * from "./themes";
export * from "./utils";
13 changes: 0 additions & 13 deletions packages/odyssey-react-mui/src/themes/index.ts

This file was deleted.

14 changes: 0 additions & 14 deletions packages/odyssey-react-mui/src/utils/index.ts

This file was deleted.

0 comments on commit 305eeab

Please sign in to comment.