(fix): actually migrate all the imports from tensamin/ui to methanium/ui
(feat): update legal loading screen
This commit is contained in:
parent
f9f8d5c6c1
commit
25c7ee7c26
54 changed files with 71 additions and 87 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { EditableList, LabeledSwitch } from "@tensamin/ui";
|
||||
import { EditableList, LabeledSwitch } from "@methanium/ui";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
import { storageDefaults, type Storage } from "@tensamin/shared/data";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Outlet, useLocation, useNavigate } from "@tanstack/react-router";
|
||||
import { Button, ClearStorageButton, cn, useIsMobile } from "@tensamin/ui";
|
||||
import { Button, ClearStorageButton, cn, useIsMobile } from "@methanium/ui";
|
||||
|
||||
import { settingsNavigation } from "./manifest";
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { createCache } from "@tensamin/cache";
|
|||
import { storageDefaults } from "@tensamin/shared/data";
|
||||
import { useStorage } from "@tensamin/storage/context";
|
||||
import { secureValueCodec } from "@tensamin/storage/secure";
|
||||
import { Button, Input, Label } from "@tensamin/ui";
|
||||
import { Button, Input, Label } from "@methanium/ui";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
const validLimit = (value: number) => Number.isSafeInteger(value) && value >= 0;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { storageDefaults } from "@tensamin/shared/data";
|
||||
import { useStorage } from "@tensamin/storage/context";
|
||||
import { Button, Kbd } from "@tensamin/ui";
|
||||
import { Button, Kbd } from "@methanium/ui";
|
||||
import { List, Switch } from "../components";
|
||||
|
||||
export default function Page() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { useIsMobile } from "@tensamin/ui";
|
||||
import { useIsMobile } from "@methanium/ui";
|
||||
import { SettingsSidebar } from "../layout";
|
||||
|
||||
export default function Page() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogContent, DialogTrigger } from "@tensamin/ui";
|
||||
import { Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogContent, DialogTrigger } from "@methanium/ui";
|
||||
import { generatedAt, packageCount, packages } from "../../../../licenses/third-party-credits.json";
|
||||
|
||||
const licenseTexts = import.meta.glob("../../../../licenses/**/*", { eager: true, import: "default", query: "?raw" }) as Record<string, string>;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import MDInput from "@tensamin/markdown/input";
|
|||
import { useMTP } from "@tensamin/mtp";
|
||||
import { mtp } from "@tensamin/shared/data";
|
||||
import { useStorage } from "@tensamin/storage/context";
|
||||
import { Avatar, AvatarFallback, AvatarImage, Button, cn, Input, useIsMobile } from "@tensamin/ui";
|
||||
import { Avatar, AvatarFallback, AvatarImage, Button, cn, Input, useIsMobile } from "@methanium/ui";
|
||||
import { useUser, type User } from "@tensamin/user/context";
|
||||
import { Check } from "lucide-react";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { useStorage } from "@tensamin/storage/context";
|
||||
import { Button, Input, Label } from "@tensamin/ui";
|
||||
import { Button, Input, Label } from "@methanium/ui";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
export default function Page() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { StylePicker } from "@tensamin/ui";
|
||||
import { StylePicker } from "@methanium/ui";
|
||||
|
||||
export default function Page() {
|
||||
return <div className="overflow-y-auto"><StylePicker /><div className="absolute bottom-0 right-0 mb-3 mr-2"><a className="block w-60 text-xs whitespace-pre-wrap" href="https://git.methanium.net/tensamin/client/issues/new" target="_blank" rel="noreferrer">Please open a Git issue to help us improve this feature. We want to get it right.</a></div></div>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue