mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: replace switch kit
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
"@matejmazur/react-katex": "^3.1.3",
|
||||
"@mui/joy": "5.0.0-beta.51",
|
||||
"@radix-ui/react-popover": "^1.1.14",
|
||||
"@usememos/mui": "0.1.0-20250515140125",
|
||||
"@usememos/mui": "0.1.0-20250601165716",
|
||||
"clsx": "^2.1.1",
|
||||
"copy-to-clipboard": "^3.3.3",
|
||||
"dayjs": "^1.11.13",
|
||||
|
10
web/pnpm-lock.yaml
generated
10
web/pnpm-lock.yaml
generated
@@ -36,8 +36,8 @@ importers:
|
||||
specifier: ^1.1.14
|
||||
version: 1.1.14(@types/react-dom@18.3.7(@types/react@18.3.23))(@types/react@18.3.23)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
'@usememos/mui':
|
||||
specifier: 0.1.0-20250515140125
|
||||
version: 0.1.0-20250515140125(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
specifier: 0.1.0-20250601165716
|
||||
version: 0.1.0-20250601165716(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
clsx:
|
||||
specifier: ^2.1.1
|
||||
version: 2.1.1
|
||||
@@ -1767,8 +1767,8 @@ packages:
|
||||
resolution: {integrity: sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@usememos/mui@0.1.0-20250515140125':
|
||||
resolution: {integrity: sha512-GY74G3lCIIeQhGOJkPV3ittQzHVIKpf6VxTfNjnw/IKVMLiqB8OjkjpTRg8MrEyW5h5lxTgS52rUN6zkHT+LTA==}
|
||||
'@usememos/mui@0.1.0-20250601165716':
|
||||
resolution: {integrity: sha512-VfHJZ8W1fxdc5spgv0zsVP8MAcRnyDKv152RHGmQEhgGVPcc/eBtAdrG9PBy9SXJQhrpMHmq21zzmEuMdzHFVw==}
|
||||
peerDependencies:
|
||||
react: '>=18.0.0'
|
||||
react-dom: '>=18.0.0'
|
||||
@@ -5649,7 +5649,7 @@ snapshots:
|
||||
'@typescript-eslint/types': 8.33.0
|
||||
eslint-visitor-keys: 4.2.0
|
||||
|
||||
'@usememos/mui@0.1.0-20250515140125(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||
'@usememos/mui@0.1.0-20250601165716(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||
dependencies:
|
||||
react: 18.3.1
|
||||
react-dom: 18.3.1(react@18.3.1)
|
||||
|
@@ -1,4 +1,5 @@
|
||||
import { Dropdown, Menu, MenuButton, MenuItem, Switch } from "@mui/joy";
|
||||
import { Dropdown, Menu, MenuButton, MenuItem } from "@mui/joy";
|
||||
import { Switch } from "@usememos/mui";
|
||||
import { Edit3Icon, HashIcon, MoreVerticalIcon, TagsIcon, TrashIcon } from "lucide-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
import toast from "react-hot-toast";
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Switch, Chip, ChipDelete } from "@mui/joy";
|
||||
import { Button, Input } from "@usememos/mui";
|
||||
import { Chip, ChipDelete } from "@mui/joy";
|
||||
import { Button, Input, Switch } from "@usememos/mui";
|
||||
import { isEqual, uniq } from "lodash-es";
|
||||
import { CheckIcon } from "lucide-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Divider, List, ListItem, Radio, RadioGroup, Tooltip, Switch } from "@mui/joy";
|
||||
import { Button, Input } from "@usememos/mui";
|
||||
import { Divider, List, ListItem, Radio, RadioGroup, Tooltip } from "@mui/joy";
|
||||
import { Button, Input, Switch } from "@usememos/mui";
|
||||
import { isEqual } from "lodash-es";
|
||||
import { HelpCircleIcon } from "lucide-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Select, Option, Divider, Switch } from "@mui/joy";
|
||||
import { Button, Textarea } from "@usememos/mui";
|
||||
import { Select, Option, Divider } from "@mui/joy";
|
||||
import { Button, Textarea, Switch } from "@usememos/mui";
|
||||
import { isEqual } from "lodash-es";
|
||||
import { ExternalLinkIcon } from "lucide-react";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
Reference in New Issue
Block a user