Skip to content

Commit

Permalink
Update folder names to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Jan 8, 2025
1 parent 0507121 commit e05a9c0
Show file tree
Hide file tree
Showing 43 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/keychain/.storybook/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getChainName } from "@cartridge/utils";
import Controller from "@cartridge/controller";
import { SessionPolicies } from "@cartridge/presets";
import { Parameters } from "@storybook/react";
import { ConnectionContextValue } from "../src/components/Provider/connection";
import { ConnectionContextValue } from "../src/components/provider/connection";
import { UpgradeInterface } from "../src/hooks/upgrade";
import { ConnectCtx, ConnectionCtx } from "../src/utils/connection/types";
import { defaultTheme } from "@cartridge/presets";
Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/.storybook/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useThemeEffect } from "@cartridge/ui-next";
import { ChakraProvider } from "@chakra-ui/react";
import { BrowserRouter } from "react-router-dom";

import { ConnectionContext } from "../src/components/Provider/connection";
import { ConnectionContext } from "../src/components/provider/connection";
import { StoryParameters, useMockedConnection } from "./mock";
import {
ControllerThemeContext,
Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/src/components/DeployController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
WandIcon,
Button,
} from "@cartridge/ui-next";
import { Funding } from "./Funding";
import { Funding } from "./funding";
import { useConnection } from "@/hooks/connection";
import { ControllerErrorAlert, ErrorAlert } from "./ErrorAlert";
import { useDeploy } from "@/hooks/deploy";
Expand Down
4 changes: 2 additions & 2 deletions packages/keychain/src/components/ExecutionContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { useConnection } from "@/hooks/connection";
import { ControllerError } from "@/utils/connection";
import { ControllerErrorAlert, ErrorAlert } from "@/components/ErrorAlert";
import { Fees } from "./Fees";
import { Funding } from "./Funding";
import { Funding } from "./funding";
import { DeployController } from "./DeployController";
import { ErrorCode } from "@cartridge/account-wasm/controller";
import { BannerProps } from "./layout/Container/Header/Banner";
import { BannerProps } from "./layout/container/header/Banner";
import { parseControllerError } from "@/utils/connection/execute";

interface ExecutionContainerProps {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/keychain/src/components/connect/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./Authenticate";
export * from "./authenticate";
export * from "./create";
export * from "./CreateSession";
export * from "./RegisterSession";
Expand Down
4 changes: 2 additions & 2 deletions packages/keychain/src/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { CreateController, CreateSession, Logout, Upgrade } from "./connect";
import { LoginMode } from "./connect/types";
import { DeployController } from "./DeployController";
import { ErrorPage } from "./ErrorBoundary";
import { PurchaseCredits } from "./Funding/PurchaseCredits";
import { Settings } from "./Settings";
import { PurchaseCredits } from "./funding/PurchaseCredits";
import { Settings } from "./settings";
import { SignMessage } from "./SignMessage";
import { PageLoading } from "./Loading";

Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./DeployController";
export * from "./transaction/ConfirmTransaction";
export * from "./SignMessage";
export * from "./Settings";
export * from "./settings";
2 changes: 1 addition & 1 deletion packages/keychain/src/components/layout/Content.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { StackProps, VStack } from "@chakra-ui/react";
import { useLayout } from "./Container";
import { useLayout } from "./container";

export function Content({ children, ...stackProps }: StackProps) {
const { footer } = useLayout();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from "@chakra-ui/react";
import { motion } from "framer-motion";
import { PropsWithChildren, createContext, useContext, useState } from "react";
import { Header, HeaderProps } from "./Header";
import { Header, HeaderProps } from "./header";
import { useDisclosure } from "@cartridge/ui-next";

export function Container({
Expand Down
4 changes: 2 additions & 2 deletions packages/keychain/src/components/layout/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from "./Container";
export * from "./container";
export * from "./Content";
export * from "./Footer";
export * from "./footer";
2 changes: 1 addition & 1 deletion packages/keychain/src/hooks/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { setIsSignedUp } from "@/utils/cookie";
import {
ConnectionContext,
ConnectionContextValue,
} from "@/components/Provider/connection";
} from "@/components/provider/connection";
import { UpgradeInterface, useUpgrade } from "./upgrade";
import posthog from "posthog-js";
import { Policies } from "@cartridge/presets";
Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { SonnerToaster } from "@cartridge/ui-next";
import { App } from "@/components/app";
import { Provider } from "@/components/Provider";
import { Provider } from "@/components/provider";

import "./index.css";

Expand Down

0 comments on commit e05a9c0

Please sign in to comment.