diff --git a/examples/next/package.json b/examples/next/package.json index 22323d055..1040a04e3 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -15,7 +15,7 @@ "dependencies": { "@cartridge/connector": "workspace:*", "@cartridge/controller": "workspace:*", - "@cartridge/ui-next": "workspace:*", + "@cartridge/ui": "workspace:*", "@starknet-react/chains": "^0.1.3", "@starknet-react/core": "^3.0.2", "next": "^14.2.5", diff --git a/examples/next/src/app/globals.css b/examples/next/src/app/globals.css index 6f3cf1660..1e4786b61 100644 --- a/examples/next/src/app/globals.css +++ b/examples/next/src/app/globals.css @@ -1,6 +1,6 @@ -@import "@cartridge/ui-next/dist/themes/default.css"; -@import "@cartridge/ui-next/dist/themes/dark.css"; -@import "@cartridge/ui-next/dist/themes/fonts.css"; +@import "@cartridge/ui/dist/themes/default.css"; +@import "@cartridge/ui/dist/themes/dark.css"; +@import "@cartridge/ui/dist/themes/fonts.css"; @tailwind base; @tailwind components; diff --git a/examples/next/src/app/token/page.tsx b/examples/next/src/app/token/page.tsx index 6a44ba98a..4bccfcd78 100644 --- a/examples/next/src/app/token/page.tsx +++ b/examples/next/src/app/token/page.tsx @@ -11,7 +11,7 @@ import { ConnectWallet } from "components/ConnectWallet"; import { useTokenContract } from "hooks/token"; import { Abi } from "starknet"; import Erc20Abi from "abi/erc20.json"; -import { Button, Input } from "@cartridge/ui-next"; +import { Button, Input } from "@cartridge/ui"; function UserBalance() { const { account } = useAccount(); diff --git a/examples/next/src/components/ColorModeToggle.tsx b/examples/next/src/components/ColorModeToggle.tsx index 3165c9cb4..eba8905e9 100644 --- a/examples/next/src/components/ColorModeToggle.tsx +++ b/examples/next/src/components/ColorModeToggle.tsx @@ -10,7 +10,7 @@ import { DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; export function ColorModeToggle() { const { setTheme } = useTheme(); diff --git a/examples/next/src/components/ConnectWallet.tsx b/examples/next/src/components/ConnectWallet.tsx index b81c2ab8e..cf0768912 100644 --- a/examples/next/src/components/ConnectWallet.tsx +++ b/examples/next/src/components/ConnectWallet.tsx @@ -3,7 +3,7 @@ import { useAccount, useConnect, useDisconnect } from "@starknet-react/core"; import ControllerConnector from "@cartridge/connector/controller"; import React, { useEffect, useState, useRef } from "react"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; export function ConnectWallet() { const { connect, connectors } = useConnect(); diff --git a/examples/next/src/components/DelegateAccount.tsx b/examples/next/src/components/DelegateAccount.tsx index c3a81d3fe..3fe6b358a 100644 --- a/examples/next/src/components/DelegateAccount.tsx +++ b/examples/next/src/components/DelegateAccount.tsx @@ -4,7 +4,7 @@ import { useAccount } from "@starknet-react/core"; import { useCallback, useEffect, useState } from "react"; import { constants } from "starknet"; import ControllerConnector from "@cartridge/connector/controller"; -import { Button, Input } from "@cartridge/ui-next"; +import { Button, Input } from "@cartridge/ui"; export const DelegateAccount = () => { const [chainId] = useState( diff --git a/examples/next/src/components/Header.tsx b/examples/next/src/components/Header.tsx index b0f4353a9..763e38f1b 100644 --- a/examples/next/src/components/Header.tsx +++ b/examples/next/src/components/Header.tsx @@ -1,6 +1,6 @@ "use client"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import ControllerConnector from "@cartridge/connector/controller"; import { useAccount, diff --git a/examples/next/src/components/InvalidTxn.tsx b/examples/next/src/components/InvalidTxn.tsx index f6f1c6294..42536c674 100644 --- a/examples/next/src/components/InvalidTxn.tsx +++ b/examples/next/src/components/InvalidTxn.tsx @@ -1,6 +1,6 @@ "use client"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import { useAccount, useSendTransaction } from "@starknet-react/core"; const ETH_CONTRACT = diff --git a/examples/next/src/components/LookupControllers.tsx b/examples/next/src/components/LookupControllers.tsx index 1a848745b..e3da9be8f 100644 --- a/examples/next/src/components/LookupControllers.tsx +++ b/examples/next/src/components/LookupControllers.tsx @@ -4,7 +4,7 @@ import { useAccount } from "@starknet-react/core"; import { useCallback, useState } from "react"; import ControllerConnector from "@cartridge/connector/controller"; import { lookupAddresses, lookupUsernames } from "@cartridge/controller"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; export function LookupControllers() { const { address, connector } = useAccount(); diff --git a/examples/next/src/components/ManualTransferEth.tsx b/examples/next/src/components/ManualTransferEth.tsx index e4d9299b5..36731f6b1 100644 --- a/examples/next/src/components/ManualTransferEth.tsx +++ b/examples/next/src/components/ManualTransferEth.tsx @@ -1,6 +1,6 @@ "use client"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import { useAccount, useNetwork } from "@starknet-react/core"; import { useCallback, useState } from "react"; import { ETH_CONTRACT_ADDRESS } from "./providers/StarknetProvider"; diff --git a/examples/next/src/components/Profile.tsx b/examples/next/src/components/Profile.tsx index baf05a6f2..4e3ebee24 100644 --- a/examples/next/src/components/Profile.tsx +++ b/examples/next/src/components/Profile.tsx @@ -2,7 +2,7 @@ import { useAccount } from "@starknet-react/core"; import ControllerConnector from "@cartridge/connector/controller"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; export function Profile() { const { account, connector } = useAccount(); diff --git a/examples/next/src/components/RegisterSession.tsx b/examples/next/src/components/RegisterSession.tsx index ecae59c57..cee40ff47 100644 --- a/examples/next/src/components/RegisterSession.tsx +++ b/examples/next/src/components/RegisterSession.tsx @@ -1,7 +1,7 @@ "use client"; import { useAccount } from "@starknet-react/core"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import { ec, stark } from "starknet"; import { useCallback, useState } from "react"; diff --git a/examples/next/src/components/Settings.tsx b/examples/next/src/components/Settings.tsx index b85a837d5..a1b6b5653 100644 --- a/examples/next/src/components/Settings.tsx +++ b/examples/next/src/components/Settings.tsx @@ -2,7 +2,7 @@ import { useAccount, useDisconnect } from "@starknet-react/core"; import ControllerConnector from "@cartridge/connector/controller"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; export function Settings() { const { account, connector } = useAccount(); diff --git a/examples/next/src/components/SignMessage.tsx b/examples/next/src/components/SignMessage.tsx index ddf81b00c..ad4ebada1 100644 --- a/examples/next/src/components/SignMessage.tsx +++ b/examples/next/src/components/SignMessage.tsx @@ -1,6 +1,6 @@ "use client"; -import { Button, Textarea } from "@cartridge/ui-next"; +import { Button, Textarea } from "@cartridge/ui"; import { useAccount, useSignTypedData } from "@starknet-react/core"; import { useCallback, useState } from "react"; import { diff --git a/examples/next/src/components/Transfer.tsx b/examples/next/src/components/Transfer.tsx index 91ee89637..992ca1644 100644 --- a/examples/next/src/components/Transfer.tsx +++ b/examples/next/src/components/Transfer.tsx @@ -1,6 +1,6 @@ "use client"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import { useAccount, useNetwork } from "@starknet-react/core"; import { useCallback, useState } from "react"; import { STRK_CONTRACT_ADDRESS } from "./providers/StarknetProvider"; diff --git a/examples/next/tailwind.config.ts b/examples/next/tailwind.config.ts index c52b715c2..114b273a9 100644 --- a/examples/next/tailwind.config.ts +++ b/examples/next/tailwind.config.ts @@ -1,10 +1,10 @@ -import { cartridgeTWPreset } from "@cartridge/ui-next/preset"; +import { cartridgeTWPreset } from "@cartridge/ui/preset"; import { Config } from "tailwindcss"; const config: Config = { content: [ "./src/**/*.{ts,tsx}", - "./node_modules/@cartridge/ui-next/dist/**/*.{js,jsx}", + "./node_modules/@cartridge/ui/dist/**/*.{js,jsx}", ], presets: [cartridgeTWPreset], }; diff --git a/package.json b/package.json index 9e5c727ba..533c526f5 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "connector": "pnpm --filter @cartridge/connector", "account-wasm": "pnpm --filter @cartridge/account-wasm", "book": "pnpm --filter @cartridge/documentation", - "ui:next": "pnpm --filter @cartridge/ui-next", + "ui": "pnpm --filter @cartridge/ui", "profile": "pnpm --filter @cartridge/profile", "utils": "pnpm --filter @cartridge/utils", "example:next": "pnpm --filter @cartridge/controller-example-next", @@ -43,4 +43,4 @@ "vercel": "^37.4.2", "@types/react": "^18.3.12" } -} \ No newline at end of file +} diff --git a/packages/keychain/.storybook/preview.tsx b/packages/keychain/.storybook/preview.tsx index b5e65685e..eb80d0dfb 100644 --- a/packages/keychain/.storybook/preview.tsx +++ b/packages/keychain/.storybook/preview.tsx @@ -1,7 +1,7 @@ import React from "react"; import type { Preview, ReactRenderer } from "@storybook/react"; import { withThemeByClassName } from "@storybook/addon-themes"; -import { SonnerToaster } from "@cartridge/ui-next"; +import { SonnerToaster } from "@cartridge/ui"; import { StoryParameters } from "./mock"; import { Provider } from "./provider"; diff --git a/packages/keychain/.storybook/provider.tsx b/packages/keychain/.storybook/provider.tsx index 3d100f0d6..6fb80defd 100644 --- a/packages/keychain/.storybook/provider.tsx +++ b/packages/keychain/.storybook/provider.tsx @@ -3,7 +3,7 @@ import { QueryClient, QueryClientProvider } from "react-query"; import { controllerConfigs } from "@cartridge/presets"; import { mainnet } from "@starknet-react/chains"; import { StarknetConfig, publicProvider, voyager } from "@starknet-react/core"; -import { useThemeEffect } from "@cartridge/ui-next"; +import { useThemeEffect } from "@cartridge/ui"; import { BrowserRouter } from "react-router-dom"; import { ConnectionContext } from "../src/components/provider/connection"; diff --git a/packages/keychain/package.json b/packages/keychain/package.json index 373c537fe..93c2ecba9 100644 --- a/packages/keychain/package.json +++ b/packages/keychain/package.json @@ -23,7 +23,7 @@ "@cartridge/account-wasm": "workspace:*", "@cartridge/controller": "workspace:*", "@cartridge/penpal": "^6.2.3", - "@cartridge/ui-next": "workspace:*", + "@cartridge/ui": "workspace:*", "@cartridge/utils": "workspace:*", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", diff --git a/packages/keychain/src/components/DeployController.tsx b/packages/keychain/src/components/DeployController.tsx index d185d8552..f0962dddd 100644 --- a/packages/keychain/src/components/DeployController.tsx +++ b/packages/keychain/src/components/DeployController.tsx @@ -11,7 +11,7 @@ import { Spinner, WandIcon, Button, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { Funding } from "./funding"; import { useConnection } from "@/hooks/connection"; import { ControllerErrorAlert, ErrorAlert } from "./ErrorAlert"; diff --git a/packages/keychain/src/components/ErrorAlert.tsx b/packages/keychain/src/components/ErrorAlert.tsx index aad025c27..d9dd3002a 100644 --- a/packages/keychain/src/components/ErrorAlert.tsx +++ b/packages/keychain/src/components/ErrorAlert.tsx @@ -10,7 +10,7 @@ import { AccordionContent, cn, Separator, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import React, { ReactElement, useCallback, diff --git a/packages/keychain/src/components/ErrorBoundary.tsx b/packages/keychain/src/components/ErrorBoundary.tsx index 049678cf3..cdf6e557a 100644 --- a/packages/keychain/src/components/ErrorBoundary.tsx +++ b/packages/keychain/src/components/ErrorBoundary.tsx @@ -1,6 +1,6 @@ import React, { PropsWithChildren, useEffect } from "react"; import { Container, Content, Footer } from "./layout"; -import { AlertIcon, ExternalIcon, Button } from "@cartridge/ui-next"; +import { AlertIcon, ExternalIcon, Button } from "@cartridge/ui"; import { useConnection } from "@/hooks/connection"; import { CARTRIDGE_DISCORD_LINK } from "@/const"; import { usePostHog } from "posthog-js/react"; diff --git a/packages/keychain/src/components/ExecutionContainer.tsx b/packages/keychain/src/components/ExecutionContainer.tsx index 671f145fa..fd1bbb995 100644 --- a/packages/keychain/src/components/ExecutionContainer.tsx +++ b/packages/keychain/src/components/ExecutionContainer.tsx @@ -1,5 +1,5 @@ import { useState, useCallback, useEffect, useRef } from "react"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import { Container, Footer } from "@/components/layout"; import { useConnection } from "@/hooks/connection"; import { ControllerError } from "@/utils/connection"; diff --git a/packages/keychain/src/components/Fees.tsx b/packages/keychain/src/components/Fees.tsx index 1542108a9..0b26f2ec8 100644 --- a/packages/keychain/src/components/Fees.tsx +++ b/packages/keychain/src/components/Fees.tsx @@ -1,7 +1,7 @@ import { useEffect, useState } from "react"; import { formatUnits } from "viem"; import { useChainId } from "@/hooks/connection"; -import { ErrorAlertIcon, EthereumIcon, Spinner } from "@cartridge/ui-next"; +import { ErrorAlertIcon, EthereumIcon, Spinner } from "@cartridge/ui"; export function Fees({ maxFee, diff --git a/packages/keychain/src/components/Loading.tsx b/packages/keychain/src/components/Loading.tsx index dc7267e9b..6a448ec2e 100644 --- a/packages/keychain/src/components/Loading.tsx +++ b/packages/keychain/src/components/Loading.tsx @@ -1,4 +1,4 @@ -import { Spinner } from "@cartridge/ui-next"; +import { Spinner } from "@cartridge/ui"; export function PageLoading() { return ( diff --git a/packages/keychain/src/components/SignMessage.tsx b/packages/keychain/src/components/SignMessage.tsx index 319242bc5..9ba6c95ff 100644 --- a/packages/keychain/src/components/SignMessage.tsx +++ b/packages/keychain/src/components/SignMessage.tsx @@ -9,7 +9,7 @@ import { CardTitle, CardListContent, CardListItem, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useController } from "@/hooks/controller"; export function SignMessage({ diff --git a/packages/keychain/src/components/Transaction.tsx b/packages/keychain/src/components/Transaction.tsx index 822fbbbb2..d43ea1340 100644 --- a/packages/keychain/src/components/Transaction.tsx +++ b/packages/keychain/src/components/Transaction.tsx @@ -1,11 +1,6 @@ import { ReactNode, useEffect, useMemo, useState } from "react"; import { constants } from "starknet"; -import { - CheckIcon, - ExternalIcon, - Spinner, - StarknetIcon, -} from "@cartridge/ui-next"; +import { CheckIcon, ExternalIcon, Spinner, StarknetIcon } from "@cartridge/ui"; import { useController } from "@/hooks/controller"; import { useChainName } from "@/hooks/chain"; import { StarkscanUrl } from "@cartridge/utils"; diff --git a/packages/keychain/src/components/connect/CreateSession.tsx b/packages/keychain/src/components/connect/CreateSession.tsx index c8af9c6ce..a3c910a29 100644 --- a/packages/keychain/src/components/connect/CreateSession.tsx +++ b/packages/keychain/src/components/connect/CreateSession.tsx @@ -18,7 +18,7 @@ import { SelectValue, Button, Checkbox, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; export function CreateSession({ policies, diff --git a/packages/keychain/src/components/connect/Logout.tsx b/packages/keychain/src/components/connect/Logout.tsx index 92e944b04..0bd9cd469 100644 --- a/packages/keychain/src/components/connect/Logout.tsx +++ b/packages/keychain/src/components/connect/Logout.tsx @@ -1,5 +1,5 @@ import { Container, Footer } from "@/components/layout"; -import { LogoutDuoIcon, Button } from "@cartridge/ui-next"; +import { LogoutDuoIcon, Button } from "@cartridge/ui"; import { useConnection } from "@/hooks/connection"; import { ResponseCodes } from "@cartridge/controller"; diff --git a/packages/keychain/src/components/connect/SessionConsent.tsx b/packages/keychain/src/components/connect/SessionConsent.tsx index a67158370..92d37598f 100644 --- a/packages/keychain/src/components/connect/SessionConsent.tsx +++ b/packages/keychain/src/components/connect/SessionConsent.tsx @@ -1,4 +1,4 @@ -import { VerifiedIcon } from "@cartridge/ui-next"; +import { VerifiedIcon } from "@cartridge/ui"; import { useConnection } from "@/hooks/connection"; import { useMemo } from "react"; import { Link } from "react-router-dom"; diff --git a/packages/keychain/src/components/connect/Upgrade.tsx b/packages/keychain/src/components/connect/Upgrade.tsx index d26942e90..374555386 100644 --- a/packages/keychain/src/components/connect/Upgrade.tsx +++ b/packages/keychain/src/components/connect/Upgrade.tsx @@ -1,4 +1,4 @@ -import { BoltIcon, CircleIcon } from "@cartridge/ui-next"; +import { BoltIcon, CircleIcon } from "@cartridge/ui"; import { ExecutionContainer } from "@/components/ExecutionContainer"; import { Content } from "@/components/layout"; import { useConnection } from "@/hooks/connection"; diff --git a/packages/keychain/src/components/connect/authenticate/Unsupported.tsx b/packages/keychain/src/components/connect/authenticate/Unsupported.tsx index e07ac240b..cbe8b703e 100644 --- a/packages/keychain/src/components/connect/authenticate/Unsupported.tsx +++ b/packages/keychain/src/components/connect/authenticate/Unsupported.tsx @@ -1,4 +1,4 @@ -import { AlertIcon } from "@cartridge/ui-next"; +import { AlertIcon } from "@cartridge/ui"; import { Container } from "@/components/layout"; import { useEffect, useState } from "react"; diff --git a/packages/keychain/src/components/connect/authenticate/index.tsx b/packages/keychain/src/components/connect/authenticate/index.tsx index d703156ef..68b479ede 100644 --- a/packages/keychain/src/components/connect/authenticate/index.tsx +++ b/packages/keychain/src/components/connect/authenticate/index.tsx @@ -1,5 +1,5 @@ import { useState, useCallback } from "react"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import { Unsupported, useIsSupported } from "./Unsupported"; import { doSignup } from "@/hooks/account"; import { Container, Content, Footer } from "@/components/layout"; diff --git a/packages/keychain/src/components/connect/create/CreateController.tsx b/packages/keychain/src/components/connect/create/CreateController.tsx index 5da20d874..f0d96ba45 100644 --- a/packages/keychain/src/components/connect/create/CreateController.tsx +++ b/packages/keychain/src/components/connect/create/CreateController.tsx @@ -1,6 +1,6 @@ import { useRef, useState, useEffect } from "react"; import { Container, Footer, Content } from "@/components/layout"; -import { Button, cn, Input } from "@cartridge/ui-next"; +import { Button, cn, Input } from "@cartridge/ui"; import { useControllerTheme } from "@/hooks/theme"; import { usePostHog } from "posthog-js/react"; import { useDebounce } from "@/hooks/debounce"; diff --git a/packages/keychain/src/components/connect/create/Legal.tsx b/packages/keychain/src/components/connect/create/Legal.tsx index 34319f87f..1e4c2dbec 100644 --- a/packages/keychain/src/components/connect/create/Legal.tsx +++ b/packages/keychain/src/components/connect/create/Legal.tsx @@ -1,4 +1,4 @@ -import { LockIcon } from "@cartridge/ui-next"; +import { LockIcon } from "@cartridge/ui"; import { Link } from "react-router-dom"; export const Legal = () => ( diff --git a/packages/keychain/src/components/connect/create/StatusTray.tsx b/packages/keychain/src/components/connect/create/StatusTray.tsx index abb3a0d7f..8895a5ed3 100644 --- a/packages/keychain/src/components/connect/create/StatusTray.tsx +++ b/packages/keychain/src/components/connect/create/StatusTray.tsx @@ -1,5 +1,5 @@ import { ValidationState } from "./useUsernameValidation"; -import { cn, ExternalIcon } from "@cartridge/ui-next"; +import { cn, ExternalIcon } from "@cartridge/ui"; import { useMemo } from "react"; import { Link } from "react-router-dom"; diff --git a/packages/keychain/src/components/failure.tsx b/packages/keychain/src/components/failure.tsx index b2cc17531..4f0a59122 100644 --- a/packages/keychain/src/components/failure.tsx +++ b/packages/keychain/src/components/failure.tsx @@ -1,5 +1,5 @@ import { Container } from "@/components/layout"; -import { AlertIcon, ExternalIcon } from "@cartridge/ui-next"; +import { AlertIcon, ExternalIcon } from "@cartridge/ui"; import { CARTRIDGE_DISCORD_LINK } from "@/const"; import { Link } from "react-router-dom"; diff --git a/packages/keychain/src/components/funding/AmountSelection.tsx b/packages/keychain/src/components/funding/AmountSelection.tsx index b348c600d..8bc0e7bc5 100644 --- a/packages/keychain/src/components/funding/AmountSelection.tsx +++ b/packages/keychain/src/components/funding/AmountSelection.tsx @@ -1,10 +1,4 @@ -import { - DollarIcon, - Button, - cn, - useDisclosure, - Input, -} from "@cartridge/ui-next"; +import { DollarIcon, Button, cn, useDisclosure, Input } from "@cartridge/ui"; import { useState } from "react"; export const DEFAULT_AMOUNT = 5; diff --git a/packages/keychain/src/components/funding/Balance.tsx b/packages/keychain/src/components/funding/Balance.tsx index 33797d083..2a39da5d6 100644 --- a/packages/keychain/src/components/funding/Balance.tsx +++ b/packages/keychain/src/components/funding/Balance.tsx @@ -5,7 +5,7 @@ import { CardListItem, CardTitle, CoinsIcon, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { TokenPair } from "@cartridge/utils/api/cartridge"; import { formatEther } from "viem"; import { diff --git a/packages/keychain/src/components/funding/DepositEth.tsx b/packages/keychain/src/components/funding/DepositEth.tsx index 7e9f08da8..003dcad2a 100644 --- a/packages/keychain/src/components/funding/DepositEth.tsx +++ b/packages/keychain/src/components/funding/DepositEth.tsx @@ -26,7 +26,7 @@ import { Button, CopyAddress, Separator, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useConnection } from "@/hooks/connection"; import { ErrorAlert } from "../ErrorAlert"; import { parseEther } from "viem"; diff --git a/packages/keychain/src/components/funding/PurchaseCredits.tsx b/packages/keychain/src/components/funding/PurchaseCredits.tsx index d73e55c12..a94ab2f51 100644 --- a/packages/keychain/src/components/funding/PurchaseCredits.tsx +++ b/packages/keychain/src/components/funding/PurchaseCredits.tsx @@ -6,7 +6,7 @@ import { Button, CopyAddress, Separator, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useConnection } from "@/hooks/connection"; import { AmountSelection, DEFAULT_AMOUNT } from "./AmountSelection"; import { ErrorAlert } from "@/components/ErrorAlert"; diff --git a/packages/keychain/src/components/funding/StripeCheckout.tsx b/packages/keychain/src/components/funding/StripeCheckout.tsx index 4138533e4..b3ec0c5a1 100644 --- a/packages/keychain/src/components/funding/StripeCheckout.tsx +++ b/packages/keychain/src/components/funding/StripeCheckout.tsx @@ -7,7 +7,7 @@ import { import { StripePaymentElementOptions } from "@stripe/stripe-js"; import { Container, Content, Footer } from "@/components/layout"; import { useController } from "@/hooks/controller"; -import { CoinsIcon, CopyAddress, Button } from "@cartridge/ui-next"; +import { CoinsIcon, CopyAddress, Button } from "@cartridge/ui"; import { ErrorAlert } from "@/components/ErrorAlert"; type StripeCheckoutProps = { diff --git a/packages/keychain/src/components/funding/index.tsx b/packages/keychain/src/components/funding/index.tsx index b86551430..a449c30a4 100644 --- a/packages/keychain/src/components/funding/index.tsx +++ b/packages/keychain/src/components/funding/index.tsx @@ -7,7 +7,7 @@ import { CoinsIcon, EthereumIcon, CopyAddress, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { DepositEth } from "./DepositEth"; import { PurchaseCredits } from "./PurchaseCredits"; import { Balance, BalanceType } from "./Balance"; diff --git a/packages/keychain/src/components/layout/Content.tsx b/packages/keychain/src/components/layout/Content.tsx index 7ab19e3ff..33898b8f1 100644 --- a/packages/keychain/src/components/layout/Content.tsx +++ b/packages/keychain/src/components/layout/Content.tsx @@ -1,4 +1,4 @@ -import { cn } from "@cartridge/ui-next"; +import { cn } from "@cartridge/ui"; import { PropsWithChildren } from "react"; export function Content({ diff --git a/packages/keychain/src/components/layout/container/header/BackButton.tsx b/packages/keychain/src/components/layout/container/header/BackButton.tsx index 978ed06b5..9554f7d04 100644 --- a/packages/keychain/src/components/layout/container/header/BackButton.tsx +++ b/packages/keychain/src/components/layout/container/header/BackButton.tsx @@ -1,4 +1,4 @@ -import { ArrowIcon, Button } from "@cartridge/ui-next"; +import { ArrowIcon, Button } from "@cartridge/ui"; import { isIframe } from "@cartridge/utils"; export function BackButton({ onClick }: { onClick?: () => void }) { diff --git a/packages/keychain/src/components/layout/container/header/Banner.stories.tsx b/packages/keychain/src/components/layout/container/header/Banner.stories.tsx index 720ef45d3..3fff1e64f 100644 --- a/packages/keychain/src/components/layout/container/header/Banner.stories.tsx +++ b/packages/keychain/src/components/layout/container/header/Banner.stories.tsx @@ -1,6 +1,6 @@ import type { Meta, StoryObj } from "@storybook/react"; import { Banner } from "./Banner"; -import { EthereumIcon, TransferDuoIcon } from "@cartridge/ui-next"; +import { EthereumIcon, TransferDuoIcon } from "@cartridge/ui"; const meta: Meta = { component: Banner, diff --git a/packages/keychain/src/components/layout/container/header/Banner.tsx b/packages/keychain/src/components/layout/container/header/Banner.tsx index d1f8f5450..77332e168 100644 --- a/packages/keychain/src/components/layout/container/header/Banner.tsx +++ b/packages/keychain/src/components/layout/container/header/Banner.tsx @@ -1,4 +1,4 @@ -import { cn, IconProps } from "@cartridge/ui-next"; +import { cn, IconProps } from "@cartridge/ui"; export type BannerProps = { Icon?: React.ComponentType; diff --git a/packages/keychain/src/components/layout/container/header/CloseButton.tsx b/packages/keychain/src/components/layout/container/header/CloseButton.tsx index b8b87eede..bc32a3831 100644 --- a/packages/keychain/src/components/layout/container/header/CloseButton.tsx +++ b/packages/keychain/src/components/layout/container/header/CloseButton.tsx @@ -1,4 +1,4 @@ -import { TimesIcon, Button } from "@cartridge/ui-next"; +import { TimesIcon, Button } from "@cartridge/ui"; import { isIframe } from "@cartridge/utils"; import { useConnection } from "@/hooks/connection"; import { useCallback } from "react"; diff --git a/packages/keychain/src/components/layout/container/header/SettingsButton.tsx b/packages/keychain/src/components/layout/container/header/SettingsButton.tsx index 9b2e95f74..ee888687d 100644 --- a/packages/keychain/src/components/layout/container/header/SettingsButton.tsx +++ b/packages/keychain/src/components/layout/container/header/SettingsButton.tsx @@ -1,4 +1,4 @@ -import { Button, DotsIcon } from "@cartridge/ui-next"; +import { Button, DotsIcon } from "@cartridge/ui"; import { isIframe } from "@cartridge/utils"; export function SettingsButton({ onClick }: { onClick?: () => void }) { diff --git a/packages/keychain/src/components/layout/container/header/TopBar.tsx b/packages/keychain/src/components/layout/container/header/TopBar.tsx index 0ab79c44a..033a12276 100644 --- a/packages/keychain/src/components/layout/container/header/TopBar.tsx +++ b/packages/keychain/src/components/layout/container/header/TopBar.tsx @@ -3,7 +3,7 @@ import { SettingsButton } from "./SettingsButton"; import { BackButton } from "./BackButton"; import { useConnection } from "@/hooks/connection"; import { useMemo } from "react"; -import { Network } from "@cartridge/ui-next"; +import { Network } from "@cartridge/ui"; export type TopBarProps = { onBack?: () => void; diff --git a/packages/keychain/src/components/layout/footer/index.tsx b/packages/keychain/src/components/layout/footer/index.tsx index c0012a09f..06ff84210 100644 --- a/packages/keychain/src/components/layout/footer/index.tsx +++ b/packages/keychain/src/components/layout/footer/index.tsx @@ -1,5 +1,5 @@ import { forwardRef, memo, PropsWithChildren, useRef } from "react"; -import { cn } from "@cartridge/ui-next"; +import { cn } from "@cartridge/ui"; import { Link } from "react-router-dom"; export function Footer({ diff --git a/packages/keychain/src/components/pending.tsx b/packages/keychain/src/components/pending.tsx index 7e9fe6788..d3dccc094 100644 --- a/packages/keychain/src/components/pending.tsx +++ b/packages/keychain/src/components/pending.tsx @@ -1,7 +1,7 @@ import { useEffect, useState } from "react"; import { useUrlTxns } from "@/hooks/transaction"; import { Transaction, TransactionState } from "@/components/Transaction"; -import { TimerDuoIcon } from "@cartridge/ui-next"; +import { TimerDuoIcon } from "@cartridge/ui"; import { Container, Content } from "@/components/layout"; export function Pending() { diff --git a/packages/keychain/src/components/provider/theme.tsx b/packages/keychain/src/components/provider/theme.tsx index 284a831a0..cfd723d67 100644 --- a/packages/keychain/src/components/provider/theme.tsx +++ b/packages/keychain/src/components/provider/theme.tsx @@ -1,4 +1,4 @@ -import { useThemeEffect } from "@cartridge/ui-next"; +import { useThemeEffect } from "@cartridge/ui"; import { useConnection } from "@/hooks/connection"; import { PropsWithChildren } from "react"; import { ControllerThemeContext } from "@/context/theme"; diff --git a/packages/keychain/src/components/session/AccordionCard.tsx b/packages/keychain/src/components/session/AccordionCard.tsx index 42c442841..e3c86df69 100644 --- a/packages/keychain/src/components/session/AccordionCard.tsx +++ b/packages/keychain/src/components/session/AccordionCard.tsx @@ -8,7 +8,7 @@ import { AccordionItem, AccordionTrigger, cn, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; interface AccordionCardProps { icon: React.ReactNode; diff --git a/packages/keychain/src/components/session/ContractCard.tsx b/packages/keychain/src/components/session/ContractCard.tsx index b530eb086..1861e5436 100644 --- a/packages/keychain/src/components/session/ContractCard.tsx +++ b/packages/keychain/src/components/session/ContractCard.tsx @@ -1,4 +1,4 @@ -import { CodeIcon } from "@cartridge/ui-next"; +import { CodeIcon } from "@cartridge/ui"; import { formatAddress } from "@cartridge/utils"; import { useExplorer } from "@starknet-react/core"; import { constants } from "starknet"; diff --git a/packages/keychain/src/components/session/MessageCard.tsx b/packages/keychain/src/components/session/MessageCard.tsx index 253f89fba..c8a21055f 100644 --- a/packages/keychain/src/components/session/MessageCard.tsx +++ b/packages/keychain/src/components/session/MessageCard.tsx @@ -6,8 +6,8 @@ import { PencilIcon, AccordionTrigger, CheckboxIcon, -} from "@cartridge/ui-next"; -import { ArrowTurnDownIcon, Badge } from "@cartridge/ui-next"; +} from "@cartridge/ui"; +import { ArrowTurnDownIcon, Badge } from "@cartridge/ui"; import { StarknetEnumType, StarknetMerkleType } from "@starknet-io/types-js"; import { SignMessagePolicy } from "@cartridge/presets"; import { AccordionCard } from "./AccordionCard"; diff --git a/packages/keychain/src/components/session/VerifiedSessionSummary.tsx b/packages/keychain/src/components/session/VerifiedSessionSummary.tsx index d1c74c369..7e5130845 100644 --- a/packages/keychain/src/components/session/VerifiedSessionSummary.tsx +++ b/packages/keychain/src/components/session/VerifiedSessionSummary.tsx @@ -1,6 +1,6 @@ import { SessionContracts, SessionMessages } from "@/hooks/session"; import { AggregateCard } from "./AggregateCard"; -import { CodeIcon } from "@cartridge/ui-next"; +import { CodeIcon } from "@cartridge/ui"; import { ContractCard } from "./ContractCard"; export function VerifiedSessionSummary({ diff --git a/packages/keychain/src/components/settings/Delegate.tsx b/packages/keychain/src/components/settings/Delegate.tsx index 4d05f0984..39c13d51d 100644 --- a/packages/keychain/src/components/settings/Delegate.tsx +++ b/packages/keychain/src/components/settings/Delegate.tsx @@ -1,4 +1,4 @@ -import { AlertIcon, Button, Input } from "@cartridge/ui-next"; +import { AlertIcon, Button, Input } from "@cartridge/ui"; import { Container, Content, Footer } from "@/components/layout"; import { useConnection } from "@/hooks/connection"; import { useCallback, useEffect, useState } from "react"; diff --git a/packages/keychain/src/components/settings/Recovery.tsx b/packages/keychain/src/components/settings/Recovery.tsx index c7f58284d..00aa55603 100644 --- a/packages/keychain/src/components/settings/Recovery.tsx +++ b/packages/keychain/src/components/settings/Recovery.tsx @@ -1,4 +1,4 @@ -import { AlertIcon, Button, Input } from "@cartridge/ui-next"; +import { AlertIcon, Button, Input } from "@cartridge/ui"; import { Container, Content, Footer } from "@/components/layout"; import { useConnection } from "@/hooks/connection"; import { useCallback, useEffect, useState } from "react"; diff --git a/packages/keychain/src/components/settings/index.tsx b/packages/keychain/src/components/settings/index.tsx index 7dee880eb..1c0843832 100644 --- a/packages/keychain/src/components/settings/index.tsx +++ b/packages/keychain/src/components/settings/index.tsx @@ -1,4 +1,4 @@ -import { GearIcon, Button } from "@cartridge/ui-next"; +import { GearIcon, Button } from "@cartridge/ui"; import { useState } from "react"; import { Container, Content, Footer } from "@/components/layout"; import { Recovery } from "./Recovery"; diff --git a/packages/keychain/src/components/slot/consent.tsx b/packages/keychain/src/components/slot/consent.tsx index 3564f7767..479596300 100644 --- a/packages/keychain/src/components/slot/consent.tsx +++ b/packages/keychain/src/components/slot/consent.tsx @@ -1,5 +1,5 @@ import Controller from "@/utils/controller"; -import { Button } from "@cartridge/ui-next"; +import { Button } from "@cartridge/ui"; import { Container, Footer } from "@/components/layout"; import { useCallback, useEffect } from "react"; import { useLocation, useNavigate, useSearchParams } from "react-router-dom"; diff --git a/packages/keychain/src/components/success.tsx b/packages/keychain/src/components/success.tsx index 4a4798e08..2b2a571b3 100644 --- a/packages/keychain/src/components/success.tsx +++ b/packages/keychain/src/components/success.tsx @@ -1,5 +1,5 @@ import { Container } from "@/components/layout"; -import { SparklesDuoIcon } from "@cartridge/ui-next"; +import { SparklesDuoIcon } from "@cartridge/ui"; import { useSearchParams } from "react-router-dom"; export function Success() { diff --git a/packages/keychain/src/components/transaction/CallCard.tsx b/packages/keychain/src/components/transaction/CallCard.tsx index d931c126c..a952d5403 100644 --- a/packages/keychain/src/components/transaction/CallCard.tsx +++ b/packages/keychain/src/components/transaction/CallCard.tsx @@ -5,7 +5,7 @@ import { AccordionContent, AccordionItem, AccordionTrigger, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { formatAddress } from "@cartridge/utils"; import { useExplorer } from "@starknet-react/core"; import { constants, Call } from "starknet"; diff --git a/packages/keychain/src/components/transaction/ConfirmTransaction.tsx b/packages/keychain/src/components/transaction/ConfirmTransaction.tsx index 2a2009707..4dc1b41c7 100644 --- a/packages/keychain/src/components/transaction/ConfirmTransaction.tsx +++ b/packages/keychain/src/components/transaction/ConfirmTransaction.tsx @@ -1,6 +1,6 @@ import { ResponseCodes, toArray } from "@cartridge/controller"; import { Content } from "@/components/layout"; -import { TransactionDuoIcon } from "@cartridge/ui-next"; +import { TransactionDuoIcon } from "@cartridge/ui"; import { useConnection } from "@/hooks/connection"; import { TransactionSummary } from "@/components/transaction/TransactionSummary"; import { ExecuteCtx } from "@/utils/connection"; diff --git a/packages/keychain/src/hooks/session.ts b/packages/keychain/src/hooks/session.ts index 90d56e2e2..c9de34bf6 100644 --- a/packages/keychain/src/hooks/session.ts +++ b/packages/keychain/src/hooks/session.ts @@ -11,7 +11,7 @@ import { SessionPolicies, SignMessagePolicy, } from "@cartridge/presets"; -import { CoinsIcon, CartridgeIcon } from "@cartridge/ui-next"; +import { CoinsIcon, CartridgeIcon } from "@cartridge/ui"; import React from "react"; import { Policy } from "@cartridge/account-wasm"; diff --git a/packages/keychain/src/index.css b/packages/keychain/src/index.css index d18230cc3..4977e247f 100644 --- a/packages/keychain/src/index.css +++ b/packages/keychain/src/index.css @@ -1,6 +1,6 @@ -@import "@cartridge/ui-next/themes/default.css"; -@import "@cartridge/ui-next/themes/dark.css"; -@import "@cartridge/ui-next/themes/fonts.css"; +@import "@cartridge/ui/themes/default.css"; +@import "@cartridge/ui/themes/dark.css"; +@import "@cartridge/ui/themes/fonts.css"; @tailwind base; @tailwind components; diff --git a/packages/keychain/src/main.tsx b/packages/keychain/src/main.tsx index 7c12d5b0f..b9a6d4b84 100644 --- a/packages/keychain/src/main.tsx +++ b/packages/keychain/src/main.tsx @@ -1,6 +1,6 @@ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; -import { SonnerToaster } from "@cartridge/ui-next"; +import { SonnerToaster } from "@cartridge/ui"; import { App } from "@/components/app"; import { Provider } from "@/components/provider"; diff --git a/packages/keychain/tailwind.config.ts b/packages/keychain/tailwind.config.ts index 6f7721297..5706fd259 100644 --- a/packages/keychain/tailwind.config.ts +++ b/packages/keychain/tailwind.config.ts @@ -1,10 +1,10 @@ -import { cartridgeTWPreset } from "@cartridge/ui-next/preset"; +import { cartridgeTWPreset } from "@cartridge/ui/preset"; import { Config } from "tailwindcss"; const config: Config = { content: [ "./src/**/*.{html,ts,tsx}", - "./node_modules/@cartridge/ui-next/dist/**/*.{js,jsx}", + "./node_modules/@cartridge/ui/dist/**/*.{js,jsx}", ], presets: [cartridgeTWPreset], theme: { diff --git a/packages/profile/package.json b/packages/profile/package.json index 33dd0e7d0..67f3d5307 100644 --- a/packages/profile/package.json +++ b/packages/profile/package.json @@ -15,7 +15,7 @@ "@bal7hazar/arcade-sdk": "^0.0.72", "@cartridge/controller": "workspace:*", "@cartridge/penpal": "^6.2.3", - "@cartridge/ui-next": "workspace:*", + "@cartridge/ui": "workspace:*", "@cartridge/utils": "workspace:*", "@hookform/resolvers": "^3.9.1", "compare-versions": "^6.1.1", diff --git a/packages/profile/src/components/achievements/index.tsx b/packages/profile/src/components/achievements/index.tsx index 3ca67fc41..f8a6f01ab 100644 --- a/packages/profile/src/components/achievements/index.tsx +++ b/packages/profile/src/components/achievements/index.tsx @@ -4,10 +4,10 @@ import { LayoutHeader, } from "@/components/layout"; import { Link } from "react-router-dom"; -import { ScrollArea, Button, ArrowIcon, Spinner } from "@cartridge/ui-next"; +import { ScrollArea, Button, ArrowIcon, Spinner } from "@cartridge/ui"; import { TrophiesTab, LeaderboardTab, Scoreboard } from "./tab"; import { useAccount, useUsername } from "@/hooks/account"; -import { CopyAddress } from "@cartridge/ui-next"; +import { CopyAddress } from "@cartridge/ui"; import { Navigation } from "../navigation"; import { useEffect, useMemo, useState } from "react"; import { useParams } from "react-router-dom"; diff --git a/packages/profile/src/components/achievements/leaderboard.tsx b/packages/profile/src/components/achievements/leaderboard.tsx index 08045a0f5..384f52f3e 100644 --- a/packages/profile/src/components/achievements/leaderboard.tsx +++ b/packages/profile/src/components/achievements/leaderboard.tsx @@ -4,7 +4,7 @@ import { SpaceInvaderIcon, SparklesIcon, StateIconProps, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { Link, useLocation } from "react-router-dom"; import { Item, Player } from "@/hooks/achievements"; import { useUsername } from "@/hooks/account"; diff --git a/packages/profile/src/components/achievements/pinned.tsx b/packages/profile/src/components/achievements/pinned.tsx index 2f2637993..110f5e798 100644 --- a/packages/profile/src/components/achievements/pinned.tsx +++ b/packages/profile/src/components/achievements/pinned.tsx @@ -1,5 +1,5 @@ -import { cn } from "@cartridge/ui-next"; -import { Card, CardHeader, CardTitle } from "@cartridge/ui-next"; +import { cn } from "@cartridge/ui"; +import { Card, CardHeader, CardTitle } from "@cartridge/ui"; export function Pinned({ icon, diff --git a/packages/profile/src/components/achievements/tab.tsx b/packages/profile/src/components/achievements/tab.tsx index a2d8430f9..f56b259e5 100644 --- a/packages/profile/src/components/achievements/tab.tsx +++ b/packages/profile/src/components/achievements/tab.tsx @@ -4,7 +4,7 @@ import { SparklesIcon, StateIconProps, TrophyIcon, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useState } from "react"; export function TrophiesTab({ diff --git a/packages/profile/src/components/achievements/trophies.tsx b/packages/profile/src/components/achievements/trophies.tsx index f9331eddd..1bed8fd8c 100644 --- a/packages/profile/src/components/achievements/trophies.tsx +++ b/packages/profile/src/components/achievements/trophies.tsx @@ -3,7 +3,7 @@ import { ChevronRightIcon, StateIconProps, cn, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { Trophy } from "./trophy"; import { Item } from "@/hooks/achievements"; import { useCallback, useEffect, useMemo, useState } from "react"; diff --git a/packages/profile/src/components/achievements/trophy.tsx b/packages/profile/src/components/achievements/trophy.tsx index 23fffba9f..de2919334 100644 --- a/packages/profile/src/components/achievements/trophy.tsx +++ b/packages/profile/src/components/achievements/trophy.tsx @@ -8,7 +8,7 @@ import { Separator, SpinnerIcon, XIcon, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { toast } from "sonner"; import { useMemo, useState } from "react"; import { useCallback } from "react"; diff --git a/packages/profile/src/components/activity.tsx b/packages/profile/src/components/activity.tsx index c97eea19d..645cb35d5 100644 --- a/packages/profile/src/components/activity.tsx +++ b/packages/profile/src/components/activity.tsx @@ -7,7 +7,7 @@ import { CopyAddress, ExternalIcon, ScrollArea, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useInfiniteTokenTransfersQuery } from "@cartridge/utils/api/indexer"; import { LayoutContainer, diff --git a/packages/profile/src/components/context/theme.tsx b/packages/profile/src/components/context/theme.tsx index f2d7c76e9..30a2e0999 100644 --- a/packages/profile/src/components/context/theme.tsx +++ b/packages/profile/src/components/context/theme.tsx @@ -3,7 +3,7 @@ import { controllerConfigs, ControllerTheme, } from "@cartridge/presets"; -import { useThemeEffect } from "@cartridge/ui-next"; +import { useThemeEffect } from "@cartridge/ui"; import { createContext, useCallback, useEffect, useState } from "react"; import { useSearchParams } from "react-router-dom"; import { useConnection } from "@/hooks/context"; diff --git a/packages/profile/src/components/inventory/collection/collectible.tsx b/packages/profile/src/components/inventory/collection/collectible.tsx index 008f1fe5e..1d4a81ca8 100644 --- a/packages/profile/src/components/inventory/collection/collectible.tsx +++ b/packages/profile/src/components/inventory/collection/collectible.tsx @@ -17,7 +17,7 @@ import { ExternalIcon, ScrollArea, Separator, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { addAddressPadding, constants } from "starknet"; import { formatAddress, diff --git a/packages/profile/src/components/inventory/collection/collectibles.tsx b/packages/profile/src/components/inventory/collection/collectibles.tsx index 00f9109e5..0f32afc9c 100644 --- a/packages/profile/src/components/inventory/collection/collectibles.tsx +++ b/packages/profile/src/components/inventory/collection/collectibles.tsx @@ -6,7 +6,7 @@ import { CardTitle, CheckboxIcon, cn, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { Link, useLocation } from "react-router-dom"; import { CollectionImage } from "./image"; diff --git a/packages/profile/src/components/inventory/collection/collection.tsx b/packages/profile/src/components/inventory/collection/collection.tsx index 20b8f54f9..730035eaf 100644 --- a/packages/profile/src/components/inventory/collection/collection.tsx +++ b/packages/profile/src/components/inventory/collection/collection.tsx @@ -13,7 +13,7 @@ import { CopyAddress, ScrollArea, Separator, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { LayoutContainer, LayoutContent, diff --git a/packages/profile/src/components/inventory/collection/collections.tsx b/packages/profile/src/components/inventory/collection/collections.tsx index c80e2706e..573931a4d 100644 --- a/packages/profile/src/components/inventory/collection/collections.tsx +++ b/packages/profile/src/components/inventory/collection/collections.tsx @@ -1,5 +1,5 @@ import { Link } from "react-router-dom"; -import { Card, CardHeader, CardTitle } from "@cartridge/ui-next"; +import { Card, CardHeader, CardTitle } from "@cartridge/ui"; import { CollectionImage } from "./image"; import { useCollections } from "@/hooks/collection"; diff --git a/packages/profile/src/components/inventory/collection/image.tsx b/packages/profile/src/components/inventory/collection/image.tsx index 49eca9be1..0acc9aac2 100644 --- a/packages/profile/src/components/inventory/collection/image.tsx +++ b/packages/profile/src/components/inventory/collection/image.tsx @@ -1,4 +1,4 @@ -import { cn } from "@cartridge/ui-next"; +import { cn } from "@cartridge/ui"; export const CollectionImage = ({ imageUrl = "/public/placeholder.svg", diff --git a/packages/profile/src/components/inventory/collection/send/index.tsx b/packages/profile/src/components/inventory/collection/send/index.tsx index e6a8c726f..88d1910ea 100644 --- a/packages/profile/src/components/inventory/collection/send/index.tsx +++ b/packages/profile/src/components/inventory/collection/send/index.tsx @@ -15,7 +15,7 @@ import { CopyAddress, ScrollArea, Separator, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useCallback, useEffect, useMemo, useState } from "react"; import { Link, diff --git a/packages/profile/src/components/inventory/collection/send/sending.tsx b/packages/profile/src/components/inventory/collection/send/sending.tsx index 20ffbcb83..16d5d2cbb 100644 --- a/packages/profile/src/components/inventory/collection/send/sending.tsx +++ b/packages/profile/src/components/inventory/collection/send/sending.tsx @@ -1,10 +1,4 @@ -import { - Card, - CardContent, - CardHeader, - CardTitle, - cn, -} from "@cartridge/ui-next"; +import { Card, CardContent, CardHeader, CardTitle, cn } from "@cartridge/ui"; import { Asset } from "@/hooks/collection"; import { CollectionImage } from "../image"; diff --git a/packages/profile/src/components/inventory/index.tsx b/packages/profile/src/components/inventory/index.tsx index c241c745a..afb10312e 100644 --- a/packages/profile/src/components/inventory/index.tsx +++ b/packages/profile/src/components/inventory/index.tsx @@ -2,7 +2,7 @@ export { Collectible, Collection, SendCollection } from "./collection"; export { Token } from "./token"; export { SendToken } from "./token/send/index"; -import { CopyAddress, ScrollArea } from "@cartridge/ui-next"; +import { CopyAddress, ScrollArea } from "@cartridge/ui"; import { LayoutContainer, LayoutContent, diff --git a/packages/profile/src/components/inventory/token/send/amount.tsx b/packages/profile/src/components/inventory/token/send/amount.tsx index f66556d3a..049deaca2 100644 --- a/packages/profile/src/components/inventory/token/send/amount.tsx +++ b/packages/profile/src/components/inventory/token/send/amount.tsx @@ -1,5 +1,5 @@ import { useToken } from "@/hooks/token"; -import { AlertIcon, Button, cn, Input, Label } from "@cartridge/ui-next"; +import { AlertIcon, Button, cn, Input, Label } from "@cartridge/ui"; import { useCountervalue } from "@cartridge/utils"; import { TokenPair } from "@cartridge/utils/api/cartridge"; import { useCallback, useMemo } from "react"; diff --git a/packages/profile/src/components/inventory/token/send/index.tsx b/packages/profile/src/components/inventory/token/send/index.tsx index c2a04e77b..e95e5023c 100644 --- a/packages/profile/src/components/inventory/token/send/index.tsx +++ b/packages/profile/src/components/inventory/token/send/index.tsx @@ -15,7 +15,7 @@ import { cn, CopyAddress, Separator, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useCallback, useEffect, useMemo, useState } from "react"; import { Link, useNavigate, useParams } from "react-router-dom"; import { Call, uint256 } from "starknet"; diff --git a/packages/profile/src/components/inventory/token/token.tsx b/packages/profile/src/components/inventory/token/token.tsx index 390fdbfa8..aca7f279d 100644 --- a/packages/profile/src/components/inventory/token/token.tsx +++ b/packages/profile/src/components/inventory/token/token.tsx @@ -15,7 +15,7 @@ import { CoinsIcon, ExternalIcon, Skeleton, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { useConnection } from "@/hooks/context"; import { formatAddress, diff --git a/packages/profile/src/components/inventory/token/tokens.tsx b/packages/profile/src/components/inventory/token/tokens.tsx index aab1c9dc7..d5908e213 100644 --- a/packages/profile/src/components/inventory/token/tokens.tsx +++ b/packages/profile/src/components/inventory/token/tokens.tsx @@ -4,7 +4,7 @@ import { CardListContent, CardListItem, CardTitle, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { Link } from "react-router-dom"; import { Balance, ERC20Metadata, useCountervalue } from "@cartridge/utils"; import { formatEther } from "viem"; diff --git a/packages/profile/src/components/layout/index.tsx b/packages/profile/src/components/layout/index.tsx index a021aefb4..afd0bc5a2 100644 --- a/packages/profile/src/components/layout/index.tsx +++ b/packages/profile/src/components/layout/index.tsx @@ -6,7 +6,7 @@ import { DotsIcon, Spinner, ErrorImage, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { PropsWithChildren, useCallback } from "react"; import { useConnection } from "@/hooks/context"; import { isIframe } from "@cartridge/utils"; diff --git a/packages/profile/src/components/modules/recipient.tsx b/packages/profile/src/components/modules/recipient.tsx index 8773a43f3..ed1d65b9e 100644 --- a/packages/profile/src/components/modules/recipient.tsx +++ b/packages/profile/src/components/modules/recipient.tsx @@ -11,7 +11,7 @@ import { WalletIcon, AlertIcon, cn, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { formatAddress } from "@cartridge/utils"; import { useCallback, useEffect, useMemo, useState } from "react"; import { debounce } from "lodash"; diff --git a/packages/profile/src/components/navigation.tsx b/packages/profile/src/components/navigation.tsx index 98cbb20e4..4788d4321 100644 --- a/packages/profile/src/components/navigation.tsx +++ b/packages/profile/src/components/navigation.tsx @@ -8,7 +8,7 @@ import { TooltipProvider, TooltipTrigger, TrophyIcon, -} from "@cartridge/ui-next"; +} from "@cartridge/ui"; import { ProfileContextTypeVariant } from "@cartridge/controller"; import { Link, useMatch, useParams } from "react-router-dom"; import { useAccount } from "@/hooks/account"; diff --git a/packages/profile/src/index.css b/packages/profile/src/index.css index fcb014b39..68be49e32 100644 --- a/packages/profile/src/index.css +++ b/packages/profile/src/index.css @@ -1,6 +1,6 @@ -@import "@cartridge/ui-next/themes/default.css"; -@import "@cartridge/ui-next/themes/dark.css"; -@import "@cartridge/ui-next/themes/fonts.css"; +@import "@cartridge/ui/themes/default.css"; +@import "@cartridge/ui/themes/dark.css"; +@import "@cartridge/ui/themes/fonts.css"; @tailwind base; @tailwind components; diff --git a/packages/profile/src/main.tsx b/packages/profile/src/main.tsx index 5b1571d4b..276c8cd96 100644 --- a/packages/profile/src/main.tsx +++ b/packages/profile/src/main.tsx @@ -1,6 +1,6 @@ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; -import { SonnerToaster } from "@cartridge/ui-next"; +import { SonnerToaster } from "@cartridge/ui"; import { App } from "@/components/app"; import { Provider } from "@/components/context"; diff --git a/packages/profile/tailwind.config.ts b/packages/profile/tailwind.config.ts index 522059ac1..f9876d8f9 100644 --- a/packages/profile/tailwind.config.ts +++ b/packages/profile/tailwind.config.ts @@ -1,10 +1,10 @@ -import { cartridgeTWPreset } from "@cartridge/ui-next/preset"; +import { cartridgeTWPreset } from "@cartridge/ui/preset"; import { Config } from "tailwindcss"; const config = { content: [ "./src/**/*.{html,ts,tsx}", - "./node_modules/@cartridge/ui-next/dist/**/*.{js,jsx}", + "./node_modules/@cartridge/ui/dist/**/*.{js,jsx}", ], presets: [cartridgeTWPreset], theme: { diff --git a/packages/ui-next/.storybook/main.ts b/packages/ui/.storybook/main.ts similarity index 100% rename from packages/ui-next/.storybook/main.ts rename to packages/ui/.storybook/main.ts diff --git a/packages/ui-next/.storybook/preview.tsx b/packages/ui/.storybook/preview.tsx similarity index 100% rename from packages/ui-next/.storybook/preview.tsx rename to packages/ui/.storybook/preview.tsx diff --git a/packages/ui-next/.storybook/test-runner.ts b/packages/ui/.storybook/test-runner.ts similarity index 100% rename from packages/ui-next/.storybook/test-runner.ts rename to packages/ui/.storybook/test-runner.ts diff --git a/packages/ui-next/README.md b/packages/ui/README.md similarity index 89% rename from packages/ui-next/README.md rename to packages/ui/README.md index 39667a3dd..0100cb7e2 100644 --- a/packages/ui-next/README.md +++ b/packages/ui/README.md @@ -1,4 +1,4 @@ -# @cartridge/ui-next +# @cartridge/ui ## Usage diff --git a/packages/ui-next/__image_snapshots__/__diff_output__/.gitignore b/packages/ui/__image_snapshots__/__diff_output__/.gitignore similarity index 100% rename from packages/ui-next/__image_snapshots__/__diff_output__/.gitignore rename to packages/ui/__image_snapshots__/__diff_output__/.gitignore diff --git a/packages/ui-next/__image_snapshots__/accordion--default-chromium.png b/packages/ui/__image_snapshots__/accordion--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/accordion--default-chromium.png rename to packages/ui/__image_snapshots__/accordion--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/alert--alert-destructive-chromium.png b/packages/ui/__image_snapshots__/alert--alert-destructive-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/alert--alert-destructive-chromium.png rename to packages/ui/__image_snapshots__/alert--alert-destructive-chromium.png diff --git a/packages/ui-next/__image_snapshots__/alert--default-chromium.png b/packages/ui/__image_snapshots__/alert--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/alert--default-chromium.png rename to packages/ui/__image_snapshots__/alert--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/badge--default-chromium.png b/packages/ui/__image_snapshots__/badge--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/badge--default-chromium.png rename to packages/ui/__image_snapshots__/badge--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/badge--muted-chromium.png b/packages/ui/__image_snapshots__/badge--muted-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/badge--muted-chromium.png rename to packages/ui/__image_snapshots__/badge--muted-chromium.png diff --git a/packages/ui-next/__image_snapshots__/badge--primary-chromium.png b/packages/ui/__image_snapshots__/badge--primary-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/badge--primary-chromium.png rename to packages/ui/__image_snapshots__/badge--primary-chromium.png diff --git a/packages/ui-next/__image_snapshots__/badge--tab-chromium.png b/packages/ui/__image_snapshots__/badge--tab-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/badge--tab-chromium.png rename to packages/ui/__image_snapshots__/badge--tab-chromium.png diff --git a/packages/ui-next/__image_snapshots__/breadcrumb--custom-separator-chromium.png b/packages/ui/__image_snapshots__/breadcrumb--custom-separator-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/breadcrumb--custom-separator-chromium.png rename to packages/ui/__image_snapshots__/breadcrumb--custom-separator-chromium.png diff --git a/packages/ui-next/__image_snapshots__/breadcrumb--default-chromium.png b/packages/ui/__image_snapshots__/breadcrumb--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/breadcrumb--default-chromium.png rename to packages/ui/__image_snapshots__/breadcrumb--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--default-chromium.png b/packages/ui/__image_snapshots__/button--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--default-chromium.png rename to packages/ui/__image_snapshots__/button--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--disabled-chromium.png b/packages/ui/__image_snapshots__/button--disabled-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--disabled-chromium.png rename to packages/ui/__image_snapshots__/button--disabled-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--ghost-chromium.png b/packages/ui/__image_snapshots__/button--ghost-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--ghost-chromium.png rename to packages/ui/__image_snapshots__/button--ghost-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--icon-chromium.png b/packages/ui/__image_snapshots__/button--icon-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--icon-chromium.png rename to packages/ui/__image_snapshots__/button--icon-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--loading-chromium.png b/packages/ui/__image_snapshots__/button--loading-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--loading-chromium.png rename to packages/ui/__image_snapshots__/button--loading-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--medium-chromium.png b/packages/ui/__image_snapshots__/button--medium-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--medium-chromium.png rename to packages/ui/__image_snapshots__/button--medium-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--outline-chromium.png b/packages/ui/__image_snapshots__/button--outline-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--outline-chromium.png rename to packages/ui/__image_snapshots__/button--outline-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--secondary-chromium.png b/packages/ui/__image_snapshots__/button--secondary-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--secondary-chromium.png rename to packages/ui/__image_snapshots__/button--secondary-chromium.png diff --git a/packages/ui-next/__image_snapshots__/button--with-icon-chromium.png b/packages/ui/__image_snapshots__/button--with-icon-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/button--with-icon-chromium.png rename to packages/ui/__image_snapshots__/button--with-icon-chromium.png diff --git a/packages/ui-next/__image_snapshots__/card--card-list-chromium.png b/packages/ui/__image_snapshots__/card--card-list-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/card--card-list-chromium.png rename to packages/ui/__image_snapshots__/card--card-list-chromium.png diff --git a/packages/ui-next/__image_snapshots__/card--default-chromium.png b/packages/ui/__image_snapshots__/card--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/card--default-chromium.png rename to packages/ui/__image_snapshots__/card--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/card--icon-header-chromium.png b/packages/ui/__image_snapshots__/card--icon-header-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/card--icon-header-chromium.png rename to packages/ui/__image_snapshots__/card--icon-header-chromium.png diff --git a/packages/ui-next/__image_snapshots__/card--only-title-chromium.png b/packages/ui/__image_snapshots__/card--only-title-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/card--only-title-chromium.png rename to packages/ui/__image_snapshots__/card--only-title-chromium.png diff --git a/packages/ui-next/__image_snapshots__/checkbox--default-chromium.png b/packages/ui/__image_snapshots__/checkbox--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/checkbox--default-chromium.png rename to packages/ui/__image_snapshots__/checkbox--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--accent-chromium.png b/packages/ui/__image_snapshots__/colors--accent-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--accent-chromium.png rename to packages/ui/__image_snapshots__/colors--accent-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--card-chromium.png b/packages/ui/__image_snapshots__/colors--card-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--card-chromium.png rename to packages/ui/__image_snapshots__/colors--card-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--default-chromium.png b/packages/ui/__image_snapshots__/colors--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--default-chromium.png rename to packages/ui/__image_snapshots__/colors--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--destructive-chromium.png b/packages/ui/__image_snapshots__/colors--destructive-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--destructive-chromium.png rename to packages/ui/__image_snapshots__/colors--destructive-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--muted-chromium.png b/packages/ui/__image_snapshots__/colors--muted-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--muted-chromium.png rename to packages/ui/__image_snapshots__/colors--muted-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--others-chromium.png b/packages/ui/__image_snapshots__/colors--others-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--others-chromium.png rename to packages/ui/__image_snapshots__/colors--others-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--popover-chromium.png b/packages/ui/__image_snapshots__/colors--popover-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--popover-chromium.png rename to packages/ui/__image_snapshots__/colors--popover-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--primary-chromium.png b/packages/ui/__image_snapshots__/colors--primary-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--primary-chromium.png rename to packages/ui/__image_snapshots__/colors--primary-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--secondary-chromium.png b/packages/ui/__image_snapshots__/colors--secondary-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--secondary-chromium.png rename to packages/ui/__image_snapshots__/colors--secondary-chromium.png diff --git a/packages/ui-next/__image_snapshots__/colors--tertiary-chromium.png b/packages/ui/__image_snapshots__/colors--tertiary-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/colors--tertiary-chromium.png rename to packages/ui/__image_snapshots__/colors--tertiary-chromium.png diff --git a/packages/ui-next/__image_snapshots__/command--default-chromium.png b/packages/ui/__image_snapshots__/command--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/command--default-chromium.png rename to packages/ui/__image_snapshots__/command--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/components-primitives-form--default-chromium.png b/packages/ui/__image_snapshots__/components-primitives-form--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/components-primitives-form--default-chromium.png rename to packages/ui/__image_snapshots__/components-primitives-form--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/copyaddress--default-chromium.png b/packages/ui/__image_snapshots__/copyaddress--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/copyaddress--default-chromium.png rename to packages/ui/__image_snapshots__/copyaddress--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/copyaddress--explicit-length-chromium.png b/packages/ui/__image_snapshots__/copyaddress--explicit-length-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/copyaddress--explicit-length-chromium.png rename to packages/ui/__image_snapshots__/copyaddress--explicit-length-chromium.png diff --git a/packages/ui-next/__image_snapshots__/copyaddress--large-chromium.png b/packages/ui/__image_snapshots__/copyaddress--large-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/copyaddress--large-chromium.png rename to packages/ui/__image_snapshots__/copyaddress--large-chromium.png diff --git a/packages/ui-next/__image_snapshots__/copyaddress--small-chromium.png b/packages/ui/__image_snapshots__/copyaddress--small-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/copyaddress--small-chromium.png rename to packages/ui/__image_snapshots__/copyaddress--small-chromium.png diff --git a/packages/ui-next/__image_snapshots__/dialog--alert-dialog-chromium.png b/packages/ui/__image_snapshots__/dialog--alert-dialog-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/dialog--alert-dialog-chromium.png rename to packages/ui/__image_snapshots__/dialog--alert-dialog-chromium.png diff --git a/packages/ui-next/__image_snapshots__/dialog--default-chromium.png b/packages/ui/__image_snapshots__/dialog--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/dialog--default-chromium.png rename to packages/ui/__image_snapshots__/dialog--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/drawer--default-chromium.png b/packages/ui/__image_snapshots__/drawer--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/drawer--default-chromium.png rename to packages/ui/__image_snapshots__/drawer--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/dropdown-menu--default-chromium.png b/packages/ui/__image_snapshots__/dropdown-menu--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/dropdown-menu--default-chromium.png rename to packages/ui/__image_snapshots__/dropdown-menu--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/hover-card--default-chromium.png b/packages/ui/__image_snapshots__/hover-card--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/hover-card--default-chromium.png rename to packages/ui/__image_snapshots__/hover-card--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/icons--brand-chromium.png b/packages/ui/__image_snapshots__/icons--brand-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/icons--brand-chromium.png rename to packages/ui/__image_snapshots__/icons--brand-chromium.png diff --git a/packages/ui-next/__image_snapshots__/icons--brand-color-chromium.png b/packages/ui/__image_snapshots__/icons--brand-color-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/icons--brand-color-chromium.png rename to packages/ui/__image_snapshots__/icons--brand-color-chromium.png diff --git a/packages/ui-next/__image_snapshots__/icons--directional-chromium.png b/packages/ui/__image_snapshots__/icons--directional-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/icons--directional-chromium.png rename to packages/ui/__image_snapshots__/icons--directional-chromium.png diff --git a/packages/ui-next/__image_snapshots__/icons--duotone-chromium.png b/packages/ui/__image_snapshots__/icons--duotone-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/icons--duotone-chromium.png rename to packages/ui/__image_snapshots__/icons--duotone-chromium.png diff --git a/packages/ui-next/__image_snapshots__/icons--state-chromium.png b/packages/ui/__image_snapshots__/icons--state-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/icons--state-chromium.png rename to packages/ui/__image_snapshots__/icons--state-chromium.png diff --git a/packages/ui-next/__image_snapshots__/icons--utility-chromium.png b/packages/ui/__image_snapshots__/icons--utility-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/icons--utility-chromium.png rename to packages/ui/__image_snapshots__/icons--utility-chromium.png diff --git a/packages/ui-next/__image_snapshots__/input--clear-chromium.png b/packages/ui/__image_snapshots__/input--clear-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/input--clear-chromium.png rename to packages/ui/__image_snapshots__/input--clear-chromium.png diff --git a/packages/ui-next/__image_snapshots__/input--default-chromium.png b/packages/ui/__image_snapshots__/input--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/input--default-chromium.png rename to packages/ui/__image_snapshots__/input--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/input--loading-chromium.png b/packages/ui/__image_snapshots__/input--loading-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/input--loading-chromium.png rename to packages/ui/__image_snapshots__/input--loading-chromium.png diff --git a/packages/ui-next/__image_snapshots__/label--default-chromium.png b/packages/ui/__image_snapshots__/label--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/label--default-chromium.png rename to packages/ui/__image_snapshots__/label--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/menubar--default-chromium.png b/packages/ui/__image_snapshots__/menubar--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/menubar--default-chromium.png rename to packages/ui/__image_snapshots__/menubar--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/network--mainnet-chromium.png b/packages/ui/__image_snapshots__/network--mainnet-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/network--mainnet-chromium.png rename to packages/ui/__image_snapshots__/network--mainnet-chromium.png diff --git a/packages/ui-next/__image_snapshots__/network--sepolia-chromium.png b/packages/ui/__image_snapshots__/network--sepolia-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/network--sepolia-chromium.png rename to packages/ui/__image_snapshots__/network--sepolia-chromium.png diff --git a/packages/ui-next/__image_snapshots__/network--slot-chromium.png b/packages/ui/__image_snapshots__/network--slot-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/network--slot-chromium.png rename to packages/ui/__image_snapshots__/network--slot-chromium.png diff --git a/packages/ui-next/__image_snapshots__/network--unknown-chromium.png b/packages/ui/__image_snapshots__/network--unknown-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/network--unknown-chromium.png rename to packages/ui/__image_snapshots__/network--unknown-chromium.png diff --git a/packages/ui-next/__image_snapshots__/popover--default-chromium.png b/packages/ui/__image_snapshots__/popover--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/popover--default-chromium.png rename to packages/ui/__image_snapshots__/popover--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/progress--default-chromium.png b/packages/ui/__image_snapshots__/progress--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/progress--default-chromium.png rename to packages/ui/__image_snapshots__/progress--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/radio-group--default-chromium.png b/packages/ui/__image_snapshots__/radio-group--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/radio-group--default-chromium.png rename to packages/ui/__image_snapshots__/radio-group--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/scroll-area--default-chromium.png b/packages/ui/__image_snapshots__/scroll-area--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/scroll-area--default-chromium.png rename to packages/ui/__image_snapshots__/scroll-area--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/select--default-chromium.png b/packages/ui/__image_snapshots__/select--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/select--default-chromium.png rename to packages/ui/__image_snapshots__/select--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/separator--default-chromium.png b/packages/ui/__image_snapshots__/separator--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/separator--default-chromium.png rename to packages/ui/__image_snapshots__/separator--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/sheet--default-chromium.png b/packages/ui/__image_snapshots__/sheet--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/sheet--default-chromium.png rename to packages/ui/__image_snapshots__/sheet--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/skeleton--default-chromium.png b/packages/ui/__image_snapshots__/skeleton--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/skeleton--default-chromium.png rename to packages/ui/__image_snapshots__/skeleton--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/sonner--default-chromium.png b/packages/ui/__image_snapshots__/sonner--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/sonner--default-chromium.png rename to packages/ui/__image_snapshots__/sonner--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/switch--default-chromium.png b/packages/ui/__image_snapshots__/switch--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/switch--default-chromium.png rename to packages/ui/__image_snapshots__/switch--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/table--default-chromium.png b/packages/ui/__image_snapshots__/table--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/table--default-chromium.png rename to packages/ui/__image_snapshots__/table--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/tabs--default-chromium.png b/packages/ui/__image_snapshots__/tabs--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/tabs--default-chromium.png rename to packages/ui/__image_snapshots__/tabs--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/textarea--default-chromium.png b/packages/ui/__image_snapshots__/textarea--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/textarea--default-chromium.png rename to packages/ui/__image_snapshots__/textarea--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/toast--default-chromium.png b/packages/ui/__image_snapshots__/toast--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/toast--default-chromium.png rename to packages/ui/__image_snapshots__/toast--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/toggle--default-chromium.png b/packages/ui/__image_snapshots__/toggle--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/toggle--default-chromium.png rename to packages/ui/__image_snapshots__/toggle--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/toggle-group--default-chromium.png b/packages/ui/__image_snapshots__/toggle-group--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/toggle-group--default-chromium.png rename to packages/ui/__image_snapshots__/toggle-group--default-chromium.png diff --git a/packages/ui-next/__image_snapshots__/tooltip--default-chromium.png b/packages/ui/__image_snapshots__/tooltip--default-chromium.png similarity index 100% rename from packages/ui-next/__image_snapshots__/tooltip--default-chromium.png rename to packages/ui/__image_snapshots__/tooltip--default-chromium.png diff --git a/packages/ui-next/components.json b/packages/ui/components.json similarity index 100% rename from packages/ui-next/components.json rename to packages/ui/components.json diff --git a/packages/ui-next/eslint.config.js b/packages/ui/eslint.config.js similarity index 100% rename from packages/ui-next/eslint.config.js rename to packages/ui/eslint.config.js diff --git a/packages/ui-next/package.json b/packages/ui/package.json similarity index 99% rename from packages/ui-next/package.json rename to packages/ui/package.json index 1da9ccc08..a11b65518 100644 --- a/packages/ui-next/package.json +++ b/packages/ui/package.json @@ -1,5 +1,5 @@ { - "name": "@cartridge/ui-next", + "name": "@cartridge/ui", "version": "0.5.9", "description": "Catridge UI component library", "main": "dist/index.js", diff --git a/packages/ui-next/postcss.config.js b/packages/ui/postcss.config.js similarity index 100% rename from packages/ui-next/postcss.config.js rename to packages/ui/postcss.config.js diff --git a/packages/ui-next/src/components/copy-address.stories.tsx b/packages/ui/src/components/copy-address.stories.tsx similarity index 100% rename from packages/ui-next/src/components/copy-address.stories.tsx rename to packages/ui/src/components/copy-address.stories.tsx diff --git a/packages/ui-next/src/components/copy-address.tsx b/packages/ui/src/components/copy-address.tsx similarity index 100% rename from packages/ui-next/src/components/copy-address.tsx rename to packages/ui/src/components/copy-address.tsx diff --git a/packages/ui-next/src/components/copy-text.tsx b/packages/ui/src/components/copy-text.tsx similarity index 100% rename from packages/ui-next/src/components/copy-text.tsx rename to packages/ui/src/components/copy-text.tsx diff --git a/packages/ui-next/src/components/error-image.tsx b/packages/ui/src/components/error-image.tsx similarity index 100% rename from packages/ui-next/src/components/error-image.tsx rename to packages/ui/src/components/error-image.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/argent.tsx b/packages/ui/src/components/icons/brand-color/argent.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/argent.tsx rename to packages/ui/src/components/icons/brand-color/argent.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/cartridge.tsx b/packages/ui/src/components/icons/brand-color/cartridge.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/cartridge.tsx rename to packages/ui/src/components/icons/brand-color/cartridge.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/ethereum-dark.tsx b/packages/ui/src/components/icons/brand-color/ethereum-dark.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/ethereum-dark.tsx rename to packages/ui/src/components/icons/brand-color/ethereum-dark.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/ethereum-light.tsx b/packages/ui/src/components/icons/brand-color/ethereum-light.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/ethereum-light.tsx rename to packages/ui/src/components/icons/brand-color/ethereum-light.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/ethereum.tsx b/packages/ui/src/components/icons/brand-color/ethereum.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/ethereum.tsx rename to packages/ui/src/components/icons/brand-color/ethereum.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/index.ts b/packages/ui/src/components/icons/brand-color/index.ts similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/index.ts rename to packages/ui/src/components/icons/brand-color/index.ts diff --git a/packages/ui-next/src/components/icons/brand-color/metamask.tsx b/packages/ui/src/components/icons/brand-color/metamask.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/metamask.tsx rename to packages/ui/src/components/icons/brand-color/metamask.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/starknet.tsx b/packages/ui/src/components/icons/brand-color/starknet.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/starknet.tsx rename to packages/ui/src/components/icons/brand-color/starknet.tsx diff --git a/packages/ui-next/src/components/icons/brand-color/wallet-connect.tsx b/packages/ui/src/components/icons/brand-color/wallet-connect.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand-color/wallet-connect.tsx rename to packages/ui/src/components/icons/brand-color/wallet-connect.tsx diff --git a/packages/ui-next/src/components/icons/brand/argent.tsx b/packages/ui/src/components/icons/brand/argent.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/argent.tsx rename to packages/ui/src/components/icons/brand/argent.tsx diff --git a/packages/ui-next/src/components/icons/brand/braavos.tsx b/packages/ui/src/components/icons/brand/braavos.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/braavos.tsx rename to packages/ui/src/components/icons/brand/braavos.tsx diff --git a/packages/ui-next/src/components/icons/brand/cartridge-face.tsx b/packages/ui/src/components/icons/brand/cartridge-face.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/cartridge-face.tsx rename to packages/ui/src/components/icons/brand/cartridge-face.tsx diff --git a/packages/ui-next/src/components/icons/brand/cartridge.tsx b/packages/ui/src/components/icons/brand/cartridge.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/cartridge.tsx rename to packages/ui/src/components/icons/brand/cartridge.tsx diff --git a/packages/ui-next/src/components/icons/brand/chrome.tsx b/packages/ui/src/components/icons/brand/chrome.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/chrome.tsx rename to packages/ui/src/components/icons/brand/chrome.tsx diff --git a/packages/ui-next/src/components/icons/brand/controller.tsx b/packages/ui/src/components/icons/brand/controller.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/controller.tsx rename to packages/ui/src/components/icons/brand/controller.tsx diff --git a/packages/ui-next/src/components/icons/brand/discord.tsx b/packages/ui/src/components/icons/brand/discord.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/discord.tsx rename to packages/ui/src/components/icons/brand/discord.tsx diff --git a/packages/ui-next/src/components/icons/brand/dojo.tsx b/packages/ui/src/components/icons/brand/dojo.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/dojo.tsx rename to packages/ui/src/components/icons/brand/dojo.tsx diff --git a/packages/ui-next/src/components/icons/brand/dope-wars.tsx b/packages/ui/src/components/icons/brand/dope-wars.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/dope-wars.tsx rename to packages/ui/src/components/icons/brand/dope-wars.tsx diff --git a/packages/ui-next/src/components/icons/brand/ethereum.tsx b/packages/ui/src/components/icons/brand/ethereum.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/ethereum.tsx rename to packages/ui/src/components/icons/brand/ethereum.tsx diff --git a/packages/ui-next/src/components/icons/brand/etherscan.tsx b/packages/ui/src/components/icons/brand/etherscan.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/etherscan.tsx rename to packages/ui/src/components/icons/brand/etherscan.tsx diff --git a/packages/ui-next/src/components/icons/brand/github.tsx b/packages/ui/src/components/icons/brand/github.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/github.tsx rename to packages/ui/src/components/icons/brand/github.tsx diff --git a/packages/ui-next/src/components/icons/brand/index.ts b/packages/ui/src/components/icons/brand/index.ts similarity index 100% rename from packages/ui-next/src/components/icons/brand/index.ts rename to packages/ui/src/components/icons/brand/index.ts diff --git a/packages/ui-next/src/components/icons/brand/metamask.tsx b/packages/ui/src/components/icons/brand/metamask.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/metamask.tsx rename to packages/ui/src/components/icons/brand/metamask.tsx diff --git a/packages/ui-next/src/components/icons/brand/open-zeppelin.tsx b/packages/ui/src/components/icons/brand/open-zeppelin.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/open-zeppelin.tsx rename to packages/ui/src/components/icons/brand/open-zeppelin.tsx diff --git a/packages/ui-next/src/components/icons/brand/realms.tsx b/packages/ui/src/components/icons/brand/realms.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/realms.tsx rename to packages/ui/src/components/icons/brand/realms.tsx diff --git a/packages/ui-next/src/components/icons/brand/safari.tsx b/packages/ui/src/components/icons/brand/safari.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/safari.tsx rename to packages/ui/src/components/icons/brand/safari.tsx diff --git a/packages/ui-next/src/components/icons/brand/slot.tsx b/packages/ui/src/components/icons/brand/slot.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/slot.tsx rename to packages/ui/src/components/icons/brand/slot.tsx diff --git a/packages/ui-next/src/components/icons/brand/starknet.tsx b/packages/ui/src/components/icons/brand/starknet.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/starknet.tsx rename to packages/ui/src/components/icons/brand/starknet.tsx diff --git a/packages/ui-next/src/components/icons/brand/telegram.tsx b/packages/ui/src/components/icons/brand/telegram.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/telegram.tsx rename to packages/ui/src/components/icons/brand/telegram.tsx diff --git a/packages/ui-next/src/components/icons/brand/x.tsx b/packages/ui/src/components/icons/brand/x.tsx similarity index 100% rename from packages/ui-next/src/components/icons/brand/x.tsx rename to packages/ui/src/components/icons/brand/x.tsx diff --git a/packages/ui-next/src/components/icons/directional/arrow-from-line.tsx b/packages/ui/src/components/icons/directional/arrow-from-line.tsx similarity index 100% rename from packages/ui-next/src/components/icons/directional/arrow-from-line.tsx rename to packages/ui/src/components/icons/directional/arrow-from-line.tsx diff --git a/packages/ui-next/src/components/icons/directional/arrow-to-line.tsx b/packages/ui/src/components/icons/directional/arrow-to-line.tsx similarity index 100% rename from packages/ui-next/src/components/icons/directional/arrow-to-line.tsx rename to packages/ui/src/components/icons/directional/arrow-to-line.tsx diff --git a/packages/ui-next/src/components/icons/directional/arrow.tsx b/packages/ui/src/components/icons/directional/arrow.tsx similarity index 100% rename from packages/ui-next/src/components/icons/directional/arrow.tsx rename to packages/ui/src/components/icons/directional/arrow.tsx diff --git a/packages/ui-next/src/components/icons/directional/carat.tsx b/packages/ui/src/components/icons/directional/carat.tsx similarity index 100% rename from packages/ui-next/src/components/icons/directional/carat.tsx rename to packages/ui/src/components/icons/directional/carat.tsx diff --git a/packages/ui-next/src/components/icons/directional/index.ts b/packages/ui/src/components/icons/directional/index.ts similarity index 100% rename from packages/ui-next/src/components/icons/directional/index.ts rename to packages/ui/src/components/icons/directional/index.ts diff --git a/packages/ui-next/src/components/icons/directional/wedge.tsx b/packages/ui/src/components/icons/directional/wedge.tsx similarity index 100% rename from packages/ui-next/src/components/icons/directional/wedge.tsx rename to packages/ui/src/components/icons/directional/wedge.tsx diff --git a/packages/ui-next/src/components/icons/duotone/alert.tsx b/packages/ui/src/components/icons/duotone/alert.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/alert.tsx rename to packages/ui/src/components/icons/duotone/alert.tsx diff --git a/packages/ui-next/src/components/icons/duotone/battery.tsx b/packages/ui/src/components/icons/duotone/battery.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/battery.tsx rename to packages/ui/src/components/icons/duotone/battery.tsx diff --git a/packages/ui-next/src/components/icons/duotone/checkbox-checked.tsx b/packages/ui/src/components/icons/duotone/checkbox-checked.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/checkbox-checked.tsx rename to packages/ui/src/components/icons/duotone/checkbox-checked.tsx diff --git a/packages/ui-next/src/components/icons/duotone/coins.tsx b/packages/ui/src/components/icons/duotone/coins.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/coins.tsx rename to packages/ui/src/components/icons/duotone/coins.tsx diff --git a/packages/ui-next/src/components/icons/duotone/credit-card.tsx b/packages/ui/src/components/icons/duotone/credit-card.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/credit-card.tsx rename to packages/ui/src/components/icons/duotone/credit-card.tsx diff --git a/packages/ui-next/src/components/icons/duotone/ethereum.tsx b/packages/ui/src/components/icons/duotone/ethereum.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/ethereum.tsx rename to packages/ui/src/components/icons/duotone/ethereum.tsx diff --git a/packages/ui-next/src/components/icons/duotone/face-id.tsx b/packages/ui/src/components/icons/duotone/face-id.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/face-id.tsx rename to packages/ui/src/components/icons/duotone/face-id.tsx diff --git a/packages/ui-next/src/components/icons/duotone/fingerprint.tsx b/packages/ui/src/components/icons/duotone/fingerprint.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/fingerprint.tsx rename to packages/ui/src/components/icons/duotone/fingerprint.tsx diff --git a/packages/ui-next/src/components/icons/duotone/gem.tsx b/packages/ui/src/components/icons/duotone/gem.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/gem.tsx rename to packages/ui/src/components/icons/duotone/gem.tsx diff --git a/packages/ui-next/src/components/icons/duotone/index.ts b/packages/ui/src/components/icons/duotone/index.ts similarity index 100% rename from packages/ui-next/src/components/icons/duotone/index.ts rename to packages/ui/src/components/icons/duotone/index.ts diff --git a/packages/ui-next/src/components/icons/duotone/layer-details.tsx b/packages/ui/src/components/icons/duotone/layer-details.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/layer-details.tsx rename to packages/ui/src/components/icons/duotone/layer-details.tsx diff --git a/packages/ui-next/src/components/icons/duotone/logout.tsx b/packages/ui/src/components/icons/duotone/logout.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/logout.tsx rename to packages/ui/src/components/icons/duotone/logout.tsx diff --git a/packages/ui-next/src/components/icons/duotone/new-controller.tsx b/packages/ui/src/components/icons/duotone/new-controller.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/new-controller.tsx rename to packages/ui/src/components/icons/duotone/new-controller.tsx diff --git a/packages/ui-next/src/components/icons/duotone/new-layer.tsx b/packages/ui/src/components/icons/duotone/new-layer.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/new-layer.tsx rename to packages/ui/src/components/icons/duotone/new-layer.tsx diff --git a/packages/ui-next/src/components/icons/duotone/plug-active.tsx b/packages/ui/src/components/icons/duotone/plug-active.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/plug-active.tsx rename to packages/ui/src/components/icons/duotone/plug-active.tsx diff --git a/packages/ui-next/src/components/icons/duotone/plug-new.tsx b/packages/ui/src/components/icons/duotone/plug-new.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/plug-new.tsx rename to packages/ui/src/components/icons/duotone/plug-new.tsx diff --git a/packages/ui-next/src/components/icons/duotone/qr-code.tsx b/packages/ui/src/components/icons/duotone/qr-code.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/qr-code.tsx rename to packages/ui/src/components/icons/duotone/qr-code.tsx diff --git a/packages/ui-next/src/components/icons/duotone/quests.tsx b/packages/ui/src/components/icons/duotone/quests.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/quests.tsx rename to packages/ui/src/components/icons/duotone/quests.tsx diff --git a/packages/ui-next/src/components/icons/duotone/rocket.tsx b/packages/ui/src/components/icons/duotone/rocket.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/rocket.tsx rename to packages/ui/src/components/icons/duotone/rocket.tsx diff --git a/packages/ui-next/src/components/icons/duotone/sparkles.tsx b/packages/ui/src/components/icons/duotone/sparkles.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/sparkles.tsx rename to packages/ui/src/components/icons/duotone/sparkles.tsx diff --git a/packages/ui-next/src/components/icons/duotone/starterpack.tsx b/packages/ui/src/components/icons/duotone/starterpack.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/starterpack.tsx rename to packages/ui/src/components/icons/duotone/starterpack.tsx diff --git a/packages/ui-next/src/components/icons/duotone/timer.tsx b/packages/ui/src/components/icons/duotone/timer.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/timer.tsx rename to packages/ui/src/components/icons/duotone/timer.tsx diff --git a/packages/ui-next/src/components/icons/duotone/transaction.tsx b/packages/ui/src/components/icons/duotone/transaction.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/transaction.tsx rename to packages/ui/src/components/icons/duotone/transaction.tsx diff --git a/packages/ui-next/src/components/icons/duotone/transfer.tsx b/packages/ui/src/components/icons/duotone/transfer.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/transfer.tsx rename to packages/ui/src/components/icons/duotone/transfer.tsx diff --git a/packages/ui-next/src/components/icons/duotone/trash.tsx b/packages/ui/src/components/icons/duotone/trash.tsx similarity index 100% rename from packages/ui-next/src/components/icons/duotone/trash.tsx rename to packages/ui/src/components/icons/duotone/trash.tsx diff --git a/packages/ui-next/src/components/icons/error-alert-icon.tsx b/packages/ui/src/components/icons/error-alert-icon.tsx similarity index 100% rename from packages/ui-next/src/components/icons/error-alert-icon.tsx rename to packages/ui/src/components/icons/error-alert-icon.tsx diff --git a/packages/ui-next/src/components/icons/index.ts b/packages/ui/src/components/icons/index.ts similarity index 100% rename from packages/ui-next/src/components/icons/index.ts rename to packages/ui/src/components/icons/index.ts diff --git a/packages/ui-next/src/components/icons/state/bolt.tsx b/packages/ui/src/components/icons/state/bolt.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/bolt.tsx rename to packages/ui/src/components/icons/state/bolt.tsx diff --git a/packages/ui-next/src/components/icons/state/book.tsx b/packages/ui/src/components/icons/state/book.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/book.tsx rename to packages/ui/src/components/icons/state/book.tsx diff --git a/packages/ui-next/src/components/icons/state/calendar.tsx b/packages/ui/src/components/icons/state/calendar.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/calendar.tsx rename to packages/ui/src/components/icons/state/calendar.tsx diff --git a/packages/ui-next/src/components/icons/state/checkbox.tsx b/packages/ui/src/components/icons/state/checkbox.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/checkbox.tsx rename to packages/ui/src/components/icons/state/checkbox.tsx diff --git a/packages/ui-next/src/components/icons/state/clock.tsx b/packages/ui/src/components/icons/state/clock.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/clock.tsx rename to packages/ui/src/components/icons/state/clock.tsx diff --git a/packages/ui-next/src/components/icons/state/clone.tsx b/packages/ui/src/components/icons/state/clone.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/clone.tsx rename to packages/ui/src/components/icons/state/clone.tsx diff --git a/packages/ui-next/src/components/icons/state/code.tsx b/packages/ui/src/components/icons/state/code.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/code.tsx rename to packages/ui/src/components/icons/state/code.tsx diff --git a/packages/ui-next/src/components/icons/state/coins.tsx b/packages/ui/src/components/icons/state/coins.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/coins.tsx rename to packages/ui/src/components/icons/state/coins.tsx diff --git a/packages/ui-next/src/components/icons/state/connect.tsx b/packages/ui/src/components/icons/state/connect.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/connect.tsx rename to packages/ui/src/components/icons/state/connect.tsx diff --git a/packages/ui-next/src/components/icons/state/details.tsx b/packages/ui/src/components/icons/state/details.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/details.tsx rename to packages/ui/src/components/icons/state/details.tsx diff --git a/packages/ui-next/src/components/icons/state/disconnect.tsx b/packages/ui/src/components/icons/state/disconnect.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/disconnect.tsx rename to packages/ui/src/components/icons/state/disconnect.tsx diff --git a/packages/ui-next/src/components/icons/state/dove.tsx b/packages/ui/src/components/icons/state/dove.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/dove.tsx rename to packages/ui/src/components/icons/state/dove.tsx diff --git a/packages/ui-next/src/components/icons/state/earth.tsx b/packages/ui/src/components/icons/state/earth.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/earth.tsx rename to packages/ui/src/components/icons/state/earth.tsx diff --git a/packages/ui-next/src/components/icons/state/eye.tsx b/packages/ui/src/components/icons/state/eye.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/eye.tsx rename to packages/ui/src/components/icons/state/eye.tsx diff --git a/packages/ui-next/src/components/icons/state/filter.tsx b/packages/ui/src/components/icons/state/filter.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/filter.tsx rename to packages/ui/src/components/icons/state/filter.tsx diff --git a/packages/ui-next/src/components/icons/state/gem.tsx b/packages/ui/src/components/icons/state/gem.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/gem.tsx rename to packages/ui/src/components/icons/state/gem.tsx diff --git a/packages/ui-next/src/components/icons/state/grid.tsx b/packages/ui/src/components/icons/state/grid.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/grid.tsx rename to packages/ui/src/components/icons/state/grid.tsx diff --git a/packages/ui-next/src/components/icons/state/index.ts b/packages/ui/src/components/icons/state/index.ts similarity index 100% rename from packages/ui-next/src/components/icons/state/index.ts rename to packages/ui/src/components/icons/state/index.ts diff --git a/packages/ui-next/src/components/icons/state/joystick.tsx b/packages/ui/src/components/icons/state/joystick.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/joystick.tsx rename to packages/ui/src/components/icons/state/joystick.tsx diff --git a/packages/ui-next/src/components/icons/state/leaderboard.tsx b/packages/ui/src/components/icons/state/leaderboard.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/leaderboard.tsx rename to packages/ui/src/components/icons/state/leaderboard.tsx diff --git a/packages/ui-next/src/components/icons/state/metrics.tsx b/packages/ui/src/components/icons/state/metrics.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/metrics.tsx rename to packages/ui/src/components/icons/state/metrics.tsx diff --git a/packages/ui-next/src/components/icons/state/moon.tsx b/packages/ui/src/components/icons/state/moon.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/moon.tsx rename to packages/ui/src/components/icons/state/moon.tsx diff --git a/packages/ui-next/src/components/icons/state/pencil.tsx b/packages/ui/src/components/icons/state/pencil.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/pencil.tsx rename to packages/ui/src/components/icons/state/pencil.tsx diff --git a/packages/ui-next/src/components/icons/state/scroll.tsx b/packages/ui/src/components/icons/state/scroll.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/scroll.tsx rename to packages/ui/src/components/icons/state/scroll.tsx diff --git a/packages/ui-next/src/components/icons/state/shield.tsx b/packages/ui/src/components/icons/state/shield.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/shield.tsx rename to packages/ui/src/components/icons/state/shield.tsx diff --git a/packages/ui-next/src/components/icons/state/singular-diamond.tsx b/packages/ui/src/components/icons/state/singular-diamond.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/singular-diamond.tsx rename to packages/ui/src/components/icons/state/singular-diamond.tsx diff --git a/packages/ui-next/src/components/icons/state/singular-oval.tsx b/packages/ui/src/components/icons/state/singular-oval.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/singular-oval.tsx rename to packages/ui/src/components/icons/state/singular-oval.tsx diff --git a/packages/ui-next/src/components/icons/state/singular-shape.tsx b/packages/ui/src/components/icons/state/singular-shape.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/singular-shape.tsx rename to packages/ui/src/components/icons/state/singular-shape.tsx diff --git a/packages/ui-next/src/components/icons/state/space-invader.tsx b/packages/ui/src/components/icons/state/space-invader.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/space-invader.tsx rename to packages/ui/src/components/icons/state/space-invader.tsx diff --git a/packages/ui-next/src/components/icons/state/sparkles.tsx b/packages/ui/src/components/icons/state/sparkles.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/sparkles.tsx rename to packages/ui/src/components/icons/state/sparkles.tsx diff --git a/packages/ui-next/src/components/icons/state/stack-diamond.tsx b/packages/ui/src/components/icons/state/stack-diamond.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/stack-diamond.tsx rename to packages/ui/src/components/icons/state/stack-diamond.tsx diff --git a/packages/ui-next/src/components/icons/state/stack-oval.tsx b/packages/ui/src/components/icons/state/stack-oval.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/stack-oval.tsx rename to packages/ui/src/components/icons/state/stack-oval.tsx diff --git a/packages/ui-next/src/components/icons/state/stack-shape.tsx b/packages/ui/src/components/icons/state/stack-shape.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/stack-shape.tsx rename to packages/ui/src/components/icons/state/stack-shape.tsx diff --git a/packages/ui-next/src/components/icons/state/sun.tsx b/packages/ui/src/components/icons/state/sun.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/sun.tsx rename to packages/ui/src/components/icons/state/sun.tsx diff --git a/packages/ui-next/src/components/icons/state/terminal.tsx b/packages/ui/src/components/icons/state/terminal.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/terminal.tsx rename to packages/ui/src/components/icons/state/terminal.tsx diff --git a/packages/ui-next/src/components/icons/state/track.tsx b/packages/ui/src/components/icons/state/track.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/track.tsx rename to packages/ui/src/components/icons/state/track.tsx diff --git a/packages/ui-next/src/components/icons/state/trophy.tsx b/packages/ui/src/components/icons/state/trophy.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/trophy.tsx rename to packages/ui/src/components/icons/state/trophy.tsx diff --git a/packages/ui-next/src/components/icons/state/wallet.tsx b/packages/ui/src/components/icons/state/wallet.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/wallet.tsx rename to packages/ui/src/components/icons/state/wallet.tsx diff --git a/packages/ui-next/src/components/icons/state/wand.tsx b/packages/ui/src/components/icons/state/wand.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/wand.tsx rename to packages/ui/src/components/icons/state/wand.tsx diff --git a/packages/ui-next/src/components/icons/state/wrench.tsx b/packages/ui/src/components/icons/state/wrench.tsx similarity index 100% rename from packages/ui-next/src/components/icons/state/wrench.tsx rename to packages/ui/src/components/icons/state/wrench.tsx diff --git a/packages/ui-next/src/components/icons/types.ts b/packages/ui/src/components/icons/types.ts similarity index 100% rename from packages/ui-next/src/components/icons/types.ts rename to packages/ui/src/components/icons/types.ts diff --git a/packages/ui-next/src/components/icons/utility/achievement.tsx b/packages/ui/src/components/icons/utility/achievement.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/achievement.tsx rename to packages/ui/src/components/icons/utility/achievement.tsx diff --git a/packages/ui-next/src/components/icons/utility/alert.tsx b/packages/ui/src/components/icons/utility/alert.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/alert.tsx rename to packages/ui/src/components/icons/utility/alert.tsx diff --git a/packages/ui-next/src/components/icons/utility/arrow-turn-down.tsx b/packages/ui/src/components/icons/utility/arrow-turn-down.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/arrow-turn-down.tsx rename to packages/ui/src/components/icons/utility/arrow-turn-down.tsx diff --git a/packages/ui-next/src/components/icons/utility/check.tsx b/packages/ui/src/components/icons/utility/check.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/check.tsx rename to packages/ui/src/components/icons/utility/check.tsx diff --git a/packages/ui-next/src/components/icons/utility/checkbox-unchecked.tsx b/packages/ui/src/components/icons/utility/checkbox-unchecked.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/checkbox-unchecked.tsx rename to packages/ui/src/components/icons/utility/checkbox-unchecked.tsx diff --git a/packages/ui-next/src/components/icons/utility/chess.tsx b/packages/ui/src/components/icons/utility/chess.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/chess.tsx rename to packages/ui/src/components/icons/utility/chess.tsx diff --git a/packages/ui-next/src/components/icons/utility/chest.tsx b/packages/ui/src/components/icons/utility/chest.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/chest.tsx rename to packages/ui/src/components/icons/utility/chest.tsx diff --git a/packages/ui-next/src/components/icons/utility/chevron-left.tsx b/packages/ui/src/components/icons/utility/chevron-left.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/chevron-left.tsx rename to packages/ui/src/components/icons/utility/chevron-left.tsx diff --git a/packages/ui-next/src/components/icons/utility/chevron-right.tsx b/packages/ui/src/components/icons/utility/chevron-right.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/chevron-right.tsx rename to packages/ui/src/components/icons/utility/chevron-right.tsx diff --git a/packages/ui-next/src/components/icons/utility/circle-check.tsx b/packages/ui/src/components/icons/utility/circle-check.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/circle-check.tsx rename to packages/ui/src/components/icons/utility/circle-check.tsx diff --git a/packages/ui-next/src/components/icons/utility/circle-no-check.tsx b/packages/ui/src/components/icons/utility/circle-no-check.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/circle-no-check.tsx rename to packages/ui/src/components/icons/utility/circle-no-check.tsx diff --git a/packages/ui-next/src/components/icons/utility/circle.tsx b/packages/ui/src/components/icons/utility/circle.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/circle.tsx rename to packages/ui/src/components/icons/utility/circle.tsx diff --git a/packages/ui-next/src/components/icons/utility/copy.tsx b/packages/ui/src/components/icons/utility/copy.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/copy.tsx rename to packages/ui/src/components/icons/utility/copy.tsx diff --git a/packages/ui-next/src/components/icons/utility/credits.tsx b/packages/ui/src/components/icons/utility/credits.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/credits.tsx rename to packages/ui/src/components/icons/utility/credits.tsx diff --git a/packages/ui-next/src/components/icons/utility/deployer.tsx b/packages/ui/src/components/icons/utility/deployer.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/deployer.tsx rename to packages/ui/src/components/icons/utility/deployer.tsx diff --git a/packages/ui-next/src/components/icons/utility/desktop.tsx b/packages/ui/src/components/icons/utility/desktop.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/desktop.tsx rename to packages/ui/src/components/icons/utility/desktop.tsx diff --git a/packages/ui-next/src/components/icons/utility/dollar.tsx b/packages/ui/src/components/icons/utility/dollar.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/dollar.tsx rename to packages/ui/src/components/icons/utility/dollar.tsx diff --git a/packages/ui-next/src/components/icons/utility/dots.tsx b/packages/ui/src/components/icons/utility/dots.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/dots.tsx rename to packages/ui/src/components/icons/utility/dots.tsx diff --git a/packages/ui-next/src/components/icons/utility/double-wedge.tsx b/packages/ui/src/components/icons/utility/double-wedge.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/double-wedge.tsx rename to packages/ui/src/components/icons/utility/double-wedge.tsx diff --git a/packages/ui-next/src/components/icons/utility/external.tsx b/packages/ui/src/components/icons/utility/external.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/external.tsx rename to packages/ui/src/components/icons/utility/external.tsx diff --git a/packages/ui-next/src/components/icons/utility/fingerprint.tsx b/packages/ui/src/components/icons/utility/fingerprint.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/fingerprint.tsx rename to packages/ui/src/components/icons/utility/fingerprint.tsx diff --git a/packages/ui-next/src/components/icons/utility/fn.tsx b/packages/ui/src/components/icons/utility/fn.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/fn.tsx rename to packages/ui/src/components/icons/utility/fn.tsx diff --git a/packages/ui-next/src/components/icons/utility/fullscreen.tsx b/packages/ui/src/components/icons/utility/fullscreen.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/fullscreen.tsx rename to packages/ui/src/components/icons/utility/fullscreen.tsx diff --git a/packages/ui-next/src/components/icons/utility/gear.tsx b/packages/ui/src/components/icons/utility/gear.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/gear.tsx rename to packages/ui/src/components/icons/utility/gear.tsx diff --git a/packages/ui-next/src/components/icons/utility/hamburger.tsx b/packages/ui/src/components/icons/utility/hamburger.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/hamburger.tsx rename to packages/ui/src/components/icons/utility/hamburger.tsx diff --git a/packages/ui-next/src/components/icons/utility/index.ts b/packages/ui/src/components/icons/utility/index.ts similarity index 100% rename from packages/ui-next/src/components/icons/utility/index.ts rename to packages/ui/src/components/icons/utility/index.ts diff --git a/packages/ui-next/src/components/icons/utility/info.tsx b/packages/ui/src/components/icons/utility/info.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/info.tsx rename to packages/ui/src/components/icons/utility/info.tsx diff --git a/packages/ui-next/src/components/icons/utility/l3.tsx b/packages/ui/src/components/icons/utility/l3.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/l3.tsx rename to packages/ui/src/components/icons/utility/l3.tsx diff --git a/packages/ui-next/src/components/icons/utility/lock.tsx b/packages/ui/src/components/icons/utility/lock.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/lock.tsx rename to packages/ui/src/components/icons/utility/lock.tsx diff --git a/packages/ui-next/src/components/icons/utility/minus.tsx b/packages/ui/src/components/icons/utility/minus.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/minus.tsx rename to packages/ui/src/components/icons/utility/minus.tsx diff --git a/packages/ui-next/src/components/icons/utility/mirror-wedge.tsx b/packages/ui/src/components/icons/utility/mirror-wedge.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/mirror-wedge.tsx rename to packages/ui/src/components/icons/utility/mirror-wedge.tsx diff --git a/packages/ui-next/src/components/icons/utility/mystery.tsx b/packages/ui/src/components/icons/utility/mystery.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/mystery.tsx rename to packages/ui/src/components/icons/utility/mystery.tsx diff --git a/packages/ui-next/src/components/icons/utility/pacman.tsx b/packages/ui/src/components/icons/utility/pacman.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/pacman.tsx rename to packages/ui/src/components/icons/utility/pacman.tsx diff --git a/packages/ui-next/src/components/icons/utility/play.tsx b/packages/ui/src/components/icons/utility/play.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/play.tsx rename to packages/ui/src/components/icons/utility/play.tsx diff --git a/packages/ui-next/src/components/icons/utility/plus.tsx b/packages/ui/src/components/icons/utility/plus.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/plus.tsx rename to packages/ui/src/components/icons/utility/plus.tsx diff --git a/packages/ui-next/src/components/icons/utility/question.tsx b/packages/ui/src/components/icons/utility/question.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/question.tsx rename to packages/ui/src/components/icons/utility/question.tsx diff --git a/packages/ui-next/src/components/icons/utility/robot.tsx b/packages/ui/src/components/icons/utility/robot.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/robot.tsx rename to packages/ui/src/components/icons/utility/robot.tsx diff --git a/packages/ui-next/src/components/icons/utility/scan-qr.tsx b/packages/ui/src/components/icons/utility/scan-qr.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/scan-qr.tsx rename to packages/ui/src/components/icons/utility/scan-qr.tsx diff --git a/packages/ui-next/src/components/icons/utility/scan-self.tsx b/packages/ui/src/components/icons/utility/scan-self.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/scan-self.tsx rename to packages/ui/src/components/icons/utility/scan-self.tsx diff --git a/packages/ui-next/src/components/icons/utility/search.tsx b/packages/ui/src/components/icons/utility/search.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/search.tsx rename to packages/ui/src/components/icons/utility/search.tsx diff --git a/packages/ui-next/src/components/icons/utility/spider-web.tsx b/packages/ui/src/components/icons/utility/spider-web.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/spider-web.tsx rename to packages/ui/src/components/icons/utility/spider-web.tsx diff --git a/packages/ui-next/src/components/icons/utility/spinner-pixel.tsx b/packages/ui/src/components/icons/utility/spinner-pixel.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/spinner-pixel.tsx rename to packages/ui/src/components/icons/utility/spinner-pixel.tsx diff --git a/packages/ui-next/src/components/icons/utility/spinner.tsx b/packages/ui/src/components/icons/utility/spinner.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/spinner.tsx rename to packages/ui/src/components/icons/utility/spinner.tsx diff --git a/packages/ui-next/src/components/icons/utility/times-circle.tsx b/packages/ui/src/components/icons/utility/times-circle.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/times-circle.tsx rename to packages/ui/src/components/icons/utility/times-circle.tsx diff --git a/packages/ui-next/src/components/icons/utility/times.tsx b/packages/ui/src/components/icons/utility/times.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/times.tsx rename to packages/ui/src/components/icons/utility/times.tsx diff --git a/packages/ui-next/src/components/icons/utility/transfer.tsx b/packages/ui/src/components/icons/utility/transfer.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/transfer.tsx rename to packages/ui/src/components/icons/utility/transfer.tsx diff --git a/packages/ui-next/src/components/icons/utility/trash.tsx b/packages/ui/src/components/icons/utility/trash.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/trash.tsx rename to packages/ui/src/components/icons/utility/trash.tsx diff --git a/packages/ui-next/src/components/icons/utility/verified.tsx b/packages/ui/src/components/icons/utility/verified.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/verified.tsx rename to packages/ui/src/components/icons/utility/verified.tsx diff --git a/packages/ui-next/src/components/icons/utility/warning.tsx b/packages/ui/src/components/icons/utility/warning.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/warning.tsx rename to packages/ui/src/components/icons/utility/warning.tsx diff --git a/packages/ui-next/src/components/icons/utility/website.tsx b/packages/ui/src/components/icons/utility/website.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utility/website.tsx rename to packages/ui/src/components/icons/utility/website.tsx diff --git a/packages/ui-next/src/components/icons/utils.tsx b/packages/ui/src/components/icons/utils.tsx similarity index 100% rename from packages/ui-next/src/components/icons/utils.tsx rename to packages/ui/src/components/icons/utils.tsx diff --git a/packages/ui-next/src/components/index.ts b/packages/ui/src/components/index.ts similarity index 100% rename from packages/ui-next/src/components/index.ts rename to packages/ui/src/components/index.ts diff --git a/packages/ui-next/src/components/network.stories.tsx b/packages/ui/src/components/network.stories.tsx similarity index 100% rename from packages/ui-next/src/components/network.stories.tsx rename to packages/ui/src/components/network.stories.tsx diff --git a/packages/ui-next/src/components/network.tsx b/packages/ui/src/components/network.tsx similarity index 100% rename from packages/ui-next/src/components/network.tsx rename to packages/ui/src/components/network.tsx diff --git a/packages/ui-next/src/components/primitives/accordion.tsx b/packages/ui/src/components/primitives/accordion.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/accordion.tsx rename to packages/ui/src/components/primitives/accordion.tsx diff --git a/packages/ui-next/src/components/primitives/alert-dialog.tsx b/packages/ui/src/components/primitives/alert-dialog.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/alert-dialog.tsx rename to packages/ui/src/components/primitives/alert-dialog.tsx diff --git a/packages/ui-next/src/components/primitives/alert.tsx b/packages/ui/src/components/primitives/alert.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/alert.tsx rename to packages/ui/src/components/primitives/alert.tsx diff --git a/packages/ui-next/src/components/primitives/aspect-ratio.tsx b/packages/ui/src/components/primitives/aspect-ratio.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/aspect-ratio.tsx rename to packages/ui/src/components/primitives/aspect-ratio.tsx diff --git a/packages/ui-next/src/components/primitives/badge.tsx b/packages/ui/src/components/primitives/badge.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/badge.tsx rename to packages/ui/src/components/primitives/badge.tsx diff --git a/packages/ui-next/src/components/primitives/breadcrumb.tsx b/packages/ui/src/components/primitives/breadcrumb.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/breadcrumb.tsx rename to packages/ui/src/components/primitives/breadcrumb.tsx diff --git a/packages/ui-next/src/components/primitives/button.tsx b/packages/ui/src/components/primitives/button.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/button.tsx rename to packages/ui/src/components/primitives/button.tsx diff --git a/packages/ui-next/src/components/primitives/card.tsx b/packages/ui/src/components/primitives/card.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/card.tsx rename to packages/ui/src/components/primitives/card.tsx diff --git a/packages/ui-next/src/components/primitives/checkbox.tsx b/packages/ui/src/components/primitives/checkbox.tsx similarity index 95% rename from packages/ui-next/src/components/primitives/checkbox.tsx rename to packages/ui/src/components/primitives/checkbox.tsx index 7d71813ed..4d24a0282 100644 --- a/packages/ui-next/src/components/primitives/checkbox.tsx +++ b/packages/ui/src/components/primitives/checkbox.tsx @@ -30,8 +30,8 @@ const Checkbox = React.forwardRef< checked === "indeterminate" ? "minus-line" : checked - ? "line" - : "unchecked-line" + ? "line" + : "unchecked-line" } /> diff --git a/packages/ui-next/src/components/primitives/command.tsx b/packages/ui/src/components/primitives/command.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/command.tsx rename to packages/ui/src/components/primitives/command.tsx diff --git a/packages/ui-next/src/components/primitives/dialog.tsx b/packages/ui/src/components/primitives/dialog.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/dialog.tsx rename to packages/ui/src/components/primitives/dialog.tsx diff --git a/packages/ui-next/src/components/primitives/drawer.tsx b/packages/ui/src/components/primitives/drawer.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/drawer.tsx rename to packages/ui/src/components/primitives/drawer.tsx diff --git a/packages/ui-next/src/components/primitives/dropdown-menu.tsx b/packages/ui/src/components/primitives/dropdown-menu.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/dropdown-menu.tsx rename to packages/ui/src/components/primitives/dropdown-menu.tsx diff --git a/packages/ui-next/src/components/primitives/form.stories.tsx b/packages/ui/src/components/primitives/form.stories.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/form.stories.tsx rename to packages/ui/src/components/primitives/form.stories.tsx diff --git a/packages/ui-next/src/components/primitives/form.tsx b/packages/ui/src/components/primitives/form.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/form.tsx rename to packages/ui/src/components/primitives/form.tsx diff --git a/packages/ui-next/src/components/primitives/hover-card.tsx b/packages/ui/src/components/primitives/hover-card.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/hover-card.tsx rename to packages/ui/src/components/primitives/hover-card.tsx diff --git a/packages/ui-next/src/components/primitives/index.ts b/packages/ui/src/components/primitives/index.ts similarity index 100% rename from packages/ui-next/src/components/primitives/index.ts rename to packages/ui/src/components/primitives/index.ts diff --git a/packages/ui-next/src/components/primitives/input.tsx b/packages/ui/src/components/primitives/input.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/input.tsx rename to packages/ui/src/components/primitives/input.tsx diff --git a/packages/ui-next/src/components/primitives/label.tsx b/packages/ui/src/components/primitives/label.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/label.tsx rename to packages/ui/src/components/primitives/label.tsx diff --git a/packages/ui-next/src/components/primitives/menubar.tsx b/packages/ui/src/components/primitives/menubar.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/menubar.tsx rename to packages/ui/src/components/primitives/menubar.tsx diff --git a/packages/ui-next/src/components/primitives/popover.tsx b/packages/ui/src/components/primitives/popover.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/popover.tsx rename to packages/ui/src/components/primitives/popover.tsx diff --git a/packages/ui-next/src/components/primitives/progress.tsx b/packages/ui/src/components/primitives/progress.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/progress.tsx rename to packages/ui/src/components/primitives/progress.tsx diff --git a/packages/ui-next/src/components/primitives/radio-group.tsx b/packages/ui/src/components/primitives/radio-group.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/radio-group.tsx rename to packages/ui/src/components/primitives/radio-group.tsx diff --git a/packages/ui-next/src/components/primitives/scroll-area.tsx b/packages/ui/src/components/primitives/scroll-area.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/scroll-area.tsx rename to packages/ui/src/components/primitives/scroll-area.tsx diff --git a/packages/ui-next/src/components/primitives/select.tsx b/packages/ui/src/components/primitives/select.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/select.tsx rename to packages/ui/src/components/primitives/select.tsx diff --git a/packages/ui-next/src/components/primitives/separator.tsx b/packages/ui/src/components/primitives/separator.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/separator.tsx rename to packages/ui/src/components/primitives/separator.tsx diff --git a/packages/ui-next/src/components/primitives/sheet.tsx b/packages/ui/src/components/primitives/sheet.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/sheet.tsx rename to packages/ui/src/components/primitives/sheet.tsx diff --git a/packages/ui-next/src/components/primitives/skeleton.tsx b/packages/ui/src/components/primitives/skeleton.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/skeleton.tsx rename to packages/ui/src/components/primitives/skeleton.tsx diff --git a/packages/ui-next/src/components/primitives/sonner.tsx b/packages/ui/src/components/primitives/sonner.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/sonner.tsx rename to packages/ui/src/components/primitives/sonner.tsx diff --git a/packages/ui-next/src/components/primitives/switch.tsx b/packages/ui/src/components/primitives/switch.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/switch.tsx rename to packages/ui/src/components/primitives/switch.tsx diff --git a/packages/ui-next/src/components/primitives/table.tsx b/packages/ui/src/components/primitives/table.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/table.tsx rename to packages/ui/src/components/primitives/table.tsx diff --git a/packages/ui-next/src/components/primitives/tabs.tsx b/packages/ui/src/components/primitives/tabs.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/tabs.tsx rename to packages/ui/src/components/primitives/tabs.tsx diff --git a/packages/ui-next/src/components/primitives/textarea.tsx b/packages/ui/src/components/primitives/textarea.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/textarea.tsx rename to packages/ui/src/components/primitives/textarea.tsx diff --git a/packages/ui-next/src/components/primitives/toast.tsx b/packages/ui/src/components/primitives/toast.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/toast.tsx rename to packages/ui/src/components/primitives/toast.tsx diff --git a/packages/ui-next/src/components/primitives/toaster.tsx b/packages/ui/src/components/primitives/toaster.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/toaster.tsx rename to packages/ui/src/components/primitives/toaster.tsx diff --git a/packages/ui-next/src/components/primitives/toggle-group.tsx b/packages/ui/src/components/primitives/toggle-group.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/toggle-group.tsx rename to packages/ui/src/components/primitives/toggle-group.tsx diff --git a/packages/ui-next/src/components/primitives/toggle.tsx b/packages/ui/src/components/primitives/toggle.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/toggle.tsx rename to packages/ui/src/components/primitives/toggle.tsx diff --git a/packages/ui-next/src/components/primitives/tooltip.tsx b/packages/ui/src/components/primitives/tooltip.tsx similarity index 100% rename from packages/ui-next/src/components/primitives/tooltip.tsx rename to packages/ui/src/components/primitives/tooltip.tsx diff --git a/packages/ui-next/src/components/primitives/use-toast.ts b/packages/ui/src/components/primitives/use-toast.ts similarity index 100% rename from packages/ui-next/src/components/primitives/use-toast.ts rename to packages/ui/src/components/primitives/use-toast.ts diff --git a/packages/ui-next/src/components/spinner.tsx b/packages/ui/src/components/spinner.tsx similarity index 100% rename from packages/ui-next/src/components/spinner.tsx rename to packages/ui/src/components/spinner.tsx diff --git a/packages/ui-next/src/hooks/index.ts b/packages/ui/src/hooks/index.ts similarity index 100% rename from packages/ui-next/src/hooks/index.ts rename to packages/ui/src/hooks/index.ts diff --git a/packages/ui-next/src/hooks/theme.ts b/packages/ui/src/hooks/theme.ts similarity index 100% rename from packages/ui-next/src/hooks/theme.ts rename to packages/ui/src/hooks/theme.ts diff --git a/packages/ui-next/src/hooks/ui.ts b/packages/ui/src/hooks/ui.ts similarity index 100% rename from packages/ui-next/src/hooks/ui.ts rename to packages/ui/src/hooks/ui.ts diff --git a/packages/ui-next/src/index.css b/packages/ui/src/index.css similarity index 100% rename from packages/ui-next/src/index.css rename to packages/ui/src/index.css diff --git a/packages/ui-next/src/index.ts b/packages/ui/src/index.ts similarity index 100% rename from packages/ui-next/src/index.ts rename to packages/ui/src/index.ts diff --git a/packages/ui-next/src/preset.ts b/packages/ui/src/preset.ts similarity index 100% rename from packages/ui-next/src/preset.ts rename to packages/ui/src/preset.ts diff --git a/packages/ui-next/src/stories/accordion.stories.tsx b/packages/ui/src/stories/accordion.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/accordion.stories.tsx rename to packages/ui/src/stories/accordion.stories.tsx diff --git a/packages/ui-next/src/stories/alert.stories.tsx b/packages/ui/src/stories/alert.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/alert.stories.tsx rename to packages/ui/src/stories/alert.stories.tsx diff --git a/packages/ui-next/src/stories/badge.stories.tsx b/packages/ui/src/stories/badge.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/badge.stories.tsx rename to packages/ui/src/stories/badge.stories.tsx diff --git a/packages/ui-next/src/stories/breadcrumb.stories.tsx b/packages/ui/src/stories/breadcrumb.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/breadcrumb.stories.tsx rename to packages/ui/src/stories/breadcrumb.stories.tsx diff --git a/packages/ui-next/src/stories/button.stories.tsx b/packages/ui/src/stories/button.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/button.stories.tsx rename to packages/ui/src/stories/button.stories.tsx diff --git a/packages/ui-next/src/stories/card.stories.tsx b/packages/ui/src/stories/card.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/card.stories.tsx rename to packages/ui/src/stories/card.stories.tsx diff --git a/packages/ui-next/src/stories/checkbox.stories.tsx b/packages/ui/src/stories/checkbox.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/checkbox.stories.tsx rename to packages/ui/src/stories/checkbox.stories.tsx diff --git a/packages/ui-next/src/stories/colors.stories.tsx b/packages/ui/src/stories/colors.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/colors.stories.tsx rename to packages/ui/src/stories/colors.stories.tsx diff --git a/packages/ui-next/src/stories/command.stories.tsx b/packages/ui/src/stories/command.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/command.stories.tsx rename to packages/ui/src/stories/command.stories.tsx diff --git a/packages/ui-next/src/stories/dialog.stories.tsx b/packages/ui/src/stories/dialog.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/dialog.stories.tsx rename to packages/ui/src/stories/dialog.stories.tsx diff --git a/packages/ui-next/src/stories/drawer.stories.tsx b/packages/ui/src/stories/drawer.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/drawer.stories.tsx rename to packages/ui/src/stories/drawer.stories.tsx diff --git a/packages/ui-next/src/stories/dropdown-menu.stories.tsx b/packages/ui/src/stories/dropdown-menu.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/dropdown-menu.stories.tsx rename to packages/ui/src/stories/dropdown-menu.stories.tsx diff --git a/packages/ui-next/src/stories/hover-card.stories.tsx b/packages/ui/src/stories/hover-card.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/hover-card.stories.tsx rename to packages/ui/src/stories/hover-card.stories.tsx diff --git a/packages/ui-next/src/stories/icons.stories.tsx b/packages/ui/src/stories/icons.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/icons.stories.tsx rename to packages/ui/src/stories/icons.stories.tsx diff --git a/packages/ui-next/src/stories/input.stories.tsx b/packages/ui/src/stories/input.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/input.stories.tsx rename to packages/ui/src/stories/input.stories.tsx diff --git a/packages/ui-next/src/stories/label.stories.tsx b/packages/ui/src/stories/label.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/label.stories.tsx rename to packages/ui/src/stories/label.stories.tsx diff --git a/packages/ui-next/src/stories/menubar.stories.tsx b/packages/ui/src/stories/menubar.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/menubar.stories.tsx rename to packages/ui/src/stories/menubar.stories.tsx diff --git a/packages/ui-next/src/stories/popover.stories.tsx b/packages/ui/src/stories/popover.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/popover.stories.tsx rename to packages/ui/src/stories/popover.stories.tsx diff --git a/packages/ui-next/src/stories/progress.stories.tsx b/packages/ui/src/stories/progress.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/progress.stories.tsx rename to packages/ui/src/stories/progress.stories.tsx diff --git a/packages/ui-next/src/stories/radio-group.stories.tsx b/packages/ui/src/stories/radio-group.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/radio-group.stories.tsx rename to packages/ui/src/stories/radio-group.stories.tsx diff --git a/packages/ui-next/src/stories/scroll-area.stories.tsx b/packages/ui/src/stories/scroll-area.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/scroll-area.stories.tsx rename to packages/ui/src/stories/scroll-area.stories.tsx diff --git a/packages/ui-next/src/stories/select.stories.tsx b/packages/ui/src/stories/select.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/select.stories.tsx rename to packages/ui/src/stories/select.stories.tsx diff --git a/packages/ui-next/src/stories/separator.stories.tsx b/packages/ui/src/stories/separator.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/separator.stories.tsx rename to packages/ui/src/stories/separator.stories.tsx diff --git a/packages/ui-next/src/stories/sheet.stories.tsx b/packages/ui/src/stories/sheet.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/sheet.stories.tsx rename to packages/ui/src/stories/sheet.stories.tsx diff --git a/packages/ui-next/src/stories/skeleton.stories.tsx b/packages/ui/src/stories/skeleton.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/skeleton.stories.tsx rename to packages/ui/src/stories/skeleton.stories.tsx diff --git a/packages/ui-next/src/stories/sonner.stories.tsx b/packages/ui/src/stories/sonner.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/sonner.stories.tsx rename to packages/ui/src/stories/sonner.stories.tsx diff --git a/packages/ui-next/src/stories/switch.stories.tsx b/packages/ui/src/stories/switch.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/switch.stories.tsx rename to packages/ui/src/stories/switch.stories.tsx diff --git a/packages/ui-next/src/stories/table.stories.tsx b/packages/ui/src/stories/table.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/table.stories.tsx rename to packages/ui/src/stories/table.stories.tsx diff --git a/packages/ui-next/src/stories/tabs.stories.tsx b/packages/ui/src/stories/tabs.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/tabs.stories.tsx rename to packages/ui/src/stories/tabs.stories.tsx diff --git a/packages/ui-next/src/stories/textarea.stories.tsx b/packages/ui/src/stories/textarea.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/textarea.stories.tsx rename to packages/ui/src/stories/textarea.stories.tsx diff --git a/packages/ui-next/src/stories/toast.stories.tsx b/packages/ui/src/stories/toast.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/toast.stories.tsx rename to packages/ui/src/stories/toast.stories.tsx diff --git a/packages/ui-next/src/stories/toggle-group.stories.tsx b/packages/ui/src/stories/toggle-group.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/toggle-group.stories.tsx rename to packages/ui/src/stories/toggle-group.stories.tsx diff --git a/packages/ui-next/src/stories/toggle.stories.tsx b/packages/ui/src/stories/toggle.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/toggle.stories.tsx rename to packages/ui/src/stories/toggle.stories.tsx diff --git a/packages/ui-next/src/stories/tooltip.stories.tsx b/packages/ui/src/stories/tooltip.stories.tsx similarity index 100% rename from packages/ui-next/src/stories/tooltip.stories.tsx rename to packages/ui/src/stories/tooltip.stories.tsx diff --git a/packages/ui-next/src/themes/dark.css b/packages/ui/src/themes/dark.css similarity index 100% rename from packages/ui-next/src/themes/dark.css rename to packages/ui/src/themes/dark.css diff --git a/packages/ui-next/src/themes/default.css b/packages/ui/src/themes/default.css similarity index 100% rename from packages/ui-next/src/themes/default.css rename to packages/ui/src/themes/default.css diff --git a/packages/ui-next/src/themes/fonts.css b/packages/ui/src/themes/fonts.css similarity index 100% rename from packages/ui-next/src/themes/fonts.css rename to packages/ui/src/themes/fonts.css diff --git a/packages/ui-next/src/utils.ts b/packages/ui/src/utils.ts similarity index 100% rename from packages/ui-next/src/utils.ts rename to packages/ui/src/utils.ts diff --git a/packages/ui-next/src/vite-env.d.ts b/packages/ui/src/vite-env.d.ts similarity index 100% rename from packages/ui-next/src/vite-env.d.ts rename to packages/ui/src/vite-env.d.ts diff --git a/packages/ui-next/tailwind.config.ts b/packages/ui/tailwind.config.ts similarity index 100% rename from packages/ui-next/tailwind.config.ts rename to packages/ui/tailwind.config.ts diff --git a/packages/ui-next/tsconfig.json b/packages/ui/tsconfig.json similarity index 100% rename from packages/ui-next/tsconfig.json rename to packages/ui/tsconfig.json diff --git a/packages/ui-next/vite.config.ts b/packages/ui/vite.config.ts similarity index 100% rename from packages/ui-next/vite.config.ts rename to packages/ui/vite.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9df54730..d3192157f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,9 +45,9 @@ importers: '@cartridge/controller': specifier: workspace:* version: link:../../packages/controller - '@cartridge/ui-next': + '@cartridge/ui': specifier: workspace:* - version: link:../../packages/ui-next + version: link:../../packages/ui '@starknet-react/chains': specifier: ^0.1.3 version: 0.1.7 @@ -290,9 +290,9 @@ importers: '@cartridge/penpal': specifier: ^6.2.3 version: 6.2.3 - '@cartridge/ui-next': + '@cartridge/ui': specifier: workspace:* - version: link:../ui-next + version: link:../ui '@cartridge/utils': specifier: workspace:* version: link:../utils @@ -513,9 +513,9 @@ importers: '@cartridge/penpal': specifier: ^6.2.3 version: 6.2.3 - '@cartridge/ui-next': + '@cartridge/ui': specifier: workspace:* - version: link:../ui-next + version: link:../ui '@cartridge/utils': specifier: workspace:* version: link:../utils @@ -619,7 +619,7 @@ importers: packages/tsconfig: {} - packages/ui-next: + packages/ui: dependencies: '@cartridge/utils': specifier: workspace:*