mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
chore: udpate deps2
This commit is contained in:
parent
bc54d87389
commit
a81f970baa
@ -87,7 +87,7 @@
|
|||||||
"react-router-dom": "^7.7.1",
|
"react-router-dom": "^7.7.1",
|
||||||
"react-virtuoso": "^4.13.0",
|
"react-virtuoso": "^4.13.0",
|
||||||
"swr": "^2.3.4",
|
"swr": "^2.3.4",
|
||||||
"tailwindcss": "^3.4.17",
|
"tailwindcss": "^4.1.11",
|
||||||
"tar": "^7.4.3",
|
"tar": "^7.4.3",
|
||||||
"tsx": "^4.20.3",
|
"tsx": "^4.20.3",
|
||||||
"types-pac": "^1.0.3",
|
"types-pac": "^1.0.3",
|
||||||
|
|||||||
1017
pnpm-lock.yaml
generated
1017
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -373,13 +373,13 @@ const App: React.FC = () => {
|
|||||||
setSiderWidthValue(e.clientX)
|
setSiderWidthValue(e.clientX)
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
className={`w-full h-[100vh] flex ${resizing ? 'cursor-ew-resize' : ''}`}
|
className={`w-full h-screen flex ${resizing ? 'cursor-ew-resize' : ''}`}
|
||||||
>
|
>
|
||||||
{siderWidthValue === narrowWidth ? (
|
{siderWidthValue === narrowWidth ? (
|
||||||
<div style={{ width: `${narrowWidth}px` }} className="side h-full">
|
<div style={{ width: `${narrowWidth}px` }} className="side h-full">
|
||||||
<div className="app-drag flex justify-center items-center z-40 bg-transparent h-[49px]">
|
<div className="app-drag flex justify-center items-center z-40 bg-transparent h-[49px]">
|
||||||
{platform !== 'darwin' && (
|
{platform !== 'darwin' && (
|
||||||
<MihomoIcon className="h-[32px] leading-[32px] text-lg mx-[1px]" />
|
<MihomoIcon className="h-[32px] leading-[32px] text-lg mx-px" />
|
||||||
)}
|
)}
|
||||||
<UpdaterButton iconOnly={true} />
|
<UpdaterButton iconOnly={true} />
|
||||||
</div>
|
</div>
|
||||||
@ -417,7 +417,7 @@ const App: React.FC = () => {
|
|||||||
className={`flex justify-between p-2 ${!useWindowFrame && platform === 'darwin' ? 'ml-[60px]' : ''}`}
|
className={`flex justify-between p-2 ${!useWindowFrame && platform === 'darwin' ? 'ml-[60px]' : ''}`}
|
||||||
>
|
>
|
||||||
<div className="flex ml-1">
|
<div className="flex ml-1">
|
||||||
<MihomoIcon className="h-[32px] leading-[32px] text-lg mx-[1px]" />
|
<MihomoIcon className="h-[32px] leading-[32px] text-lg mx-px" />
|
||||||
<h3 className="text-lg font-bold leading-[32px]">ihomo Party</h3>
|
<h3 className="text-lg font-bold leading-[32px]">ihomo Party</h3>
|
||||||
</div>
|
</div>
|
||||||
<UpdaterButton />
|
<UpdaterButton />
|
||||||
|
|||||||
@ -59,9 +59,9 @@ const FloatingApp: React.FC = () => {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="app-drag h-[100vh] w-[100vw] overflow-hidden">
|
<div className="app-drag h-screen w-screen overflow-hidden">
|
||||||
<div className="floating-bg border-1 border-divider flex rounded-full bg-content1 h-[calc(100%-2px)] w-[calc(100%-2px)]">
|
<div className="floating-bg border-1 border-divider flex rounded-full bg-content1 h-[calc(100%-2px)] w-[calc(100%-2px)]">
|
||||||
<div className="flex justify-center items-center h-[100%] aspect-square">
|
<div className="flex justify-center items-center h-full aspect-square">
|
||||||
<div
|
<div
|
||||||
onContextMenu={(e) => {
|
onContextMenu={(e) => {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
@tailwind base;
|
@import 'tailwindcss';
|
||||||
@tailwind components;
|
|
||||||
@tailwind utilities;
|
|
||||||
|
|
||||||
.floating-text {
|
.floating-text {
|
||||||
font-family:
|
font-family:
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
@tailwind base;
|
@import 'tailwindcss';
|
||||||
@tailwind components;
|
|
||||||
@tailwind utilities;
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Noto Color Emoji';
|
font-family: 'Noto Color Emoji';
|
||||||
|
|||||||
@ -273,7 +273,7 @@ const Connections: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
<Divider />
|
<Divider />
|
||||||
</div>
|
</div>
|
||||||
<div className="h-[calc(100vh-100px)] mt-[1px]">
|
<div className="h-[calc(100vh-100px)] mt-px">
|
||||||
<Virtuoso
|
<Virtuoso
|
||||||
data={filteredConnections}
|
data={filteredConnections}
|
||||||
itemContent={(i, connection) => (
|
itemContent={(i, connection) => (
|
||||||
|
|||||||
@ -264,7 +264,7 @@ const DNS: React.FC = () => {
|
|||||||
{[...values.nameserverPolicy, { domain: '', value: '' }].map(
|
{[...values.nameserverPolicy, { domain: '', value: '' }].map(
|
||||||
({ domain, value }, index) => (
|
({ domain, value }, index) => (
|
||||||
<div key={index} className="flex mb-2">
|
<div key={index} className="flex mb-2">
|
||||||
<div className="flex-[4]">
|
<div className="flex-4">
|
||||||
<Input
|
<Input
|
||||||
size="sm"
|
size="sm"
|
||||||
fullWidth
|
fullWidth
|
||||||
@ -281,7 +281,7 @@ const DNS: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span className="mx-2">:</span>
|
<span className="mx-2">:</span>
|
||||||
<div className="flex-[6] flex">
|
<div className="flex-6 flex">
|
||||||
<Input
|
<Input
|
||||||
size="sm"
|
size="sm"
|
||||||
fullWidth
|
fullWidth
|
||||||
@ -332,7 +332,7 @@ const DNS: React.FC = () => {
|
|||||||
<h3 className="mb-2">{t('dns.customHosts.list')}</h3>
|
<h3 className="mb-2">{t('dns.customHosts.list')}</h3>
|
||||||
{[...values.hosts, { domain: '', value: '' }].map(({ domain, value }, index) => (
|
{[...values.hosts, { domain: '', value: '' }].map(({ domain, value }, index) => (
|
||||||
<div key={index} className="flex mb-2">
|
<div key={index} className="flex mb-2">
|
||||||
<div className="flex-[4]">
|
<div className="flex-4">
|
||||||
<Input
|
<Input
|
||||||
size="sm"
|
size="sm"
|
||||||
fullWidth
|
fullWidth
|
||||||
@ -349,7 +349,7 @@ const DNS: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span className="mx-2">:</span>
|
<span className="mx-2">:</span>
|
||||||
<div className="flex-[6] flex">
|
<div className="flex-6 flex">
|
||||||
<Input
|
<Input
|
||||||
size="sm"
|
size="sm"
|
||||||
fullWidth
|
fullWidth
|
||||||
|
|||||||
@ -109,7 +109,7 @@ const Logs: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
<Divider />
|
<Divider />
|
||||||
</div>
|
</div>
|
||||||
<div className="h-[calc(100vh-100px)] mt-[1px]">
|
<div className="h-[calc(100vh-100px)] mt-px">
|
||||||
<Virtuoso
|
<Virtuoso
|
||||||
ref={virtuosoRef}
|
ref={virtuosoRef}
|
||||||
data={filteredLogs}
|
data={filteredLogs}
|
||||||
|
|||||||
@ -652,7 +652,7 @@ const Mihomo: React.FC = () => {
|
|||||||
const [user, pass] = auth.split(':')
|
const [user, pass] = auth.split(':')
|
||||||
return (
|
return (
|
||||||
<div key={index} className="flex mb-2">
|
<div key={index} className="flex mb-2">
|
||||||
<div className="flex-[4]">
|
<div className="flex-4">
|
||||||
<Input
|
<Input
|
||||||
size="sm"
|
size="sm"
|
||||||
fullWidth
|
fullWidth
|
||||||
@ -672,7 +672,7 @@ const Mihomo: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span className="mx-2">:</span>
|
<span className="mx-2">:</span>
|
||||||
<div className="flex-[6] flex">
|
<div className="flex-6 flex">
|
||||||
<Input
|
<Input
|
||||||
size="sm"
|
size="sm"
|
||||||
fullWidth
|
fullWidth
|
||||||
|
|||||||
@ -38,7 +38,7 @@ const Rules: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
<Divider />
|
<Divider />
|
||||||
</div>
|
</div>
|
||||||
<div className="h-[calc(100vh-100px)] mt-[1px]">
|
<div className="h-[calc(100vh-100px)] mt-px">
|
||||||
<Virtuoso
|
<Virtuoso
|
||||||
data={filteredRules}
|
data={filteredRules}
|
||||||
itemContent={(i, rule) => (
|
itemContent={(i, rule) => (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user