mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] tgui core 3.1.2 (#10697)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e1524b09e6
commit
f7eddc1071
@@ -37,8 +37,7 @@
|
|||||||
/obj/effect/accelerated_particle/Initialize(mapload, dir = 2)
|
/obj/effect/accelerated_particle/Initialize(mapload, dir = 2)
|
||||||
. = ..()
|
. = ..()
|
||||||
set_dir(dir)
|
set_dir(dir)
|
||||||
addtimer(CALLBACK(src, PROC_REF(move)), 0.1 SECONDS)
|
move(0.1 SECONDS)
|
||||||
|
|
||||||
|
|
||||||
/obj/effect/accelerated_particle/Bump(atom/A)
|
/obj/effect/accelerated_particle/Bump(atom/A)
|
||||||
if (A)
|
if (A)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0",
|
"react-dom": "^19.1.0",
|
||||||
"tgui": "workspace:*",
|
"tgui": "workspace:*",
|
||||||
"tgui-core": "^3.0.5"
|
"tgui-core": "^3.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^19.1.0",
|
"@types/react": "^19.1.0",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0",
|
"react-dom": "^19.1.0",
|
||||||
"tgui": "workspace:*",
|
"tgui": "workspace:*",
|
||||||
"tgui-core": "^3.0.5",
|
"tgui-core": "^3.1.2",
|
||||||
"tgui-dev-server": "workspace:*"
|
"tgui-dev-server": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0",
|
"react-dom": "^19.1.0",
|
||||||
"tgui": "workspace:*",
|
"tgui": "workspace:*",
|
||||||
"tgui-core": "^3.0.5"
|
"tgui-core": "^3.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^19.1.0",
|
"@types/react": "^19.1.0",
|
||||||
|
|||||||
@@ -170,12 +170,11 @@ const FileTable = (props: {
|
|||||||
<>
|
<>
|
||||||
<Button.Input
|
<Button.Input
|
||||||
width="80%"
|
width="80%"
|
||||||
currentValue={file.name}
|
buttonText={file.name}
|
||||||
|
value={file.name}
|
||||||
tooltip="Rename"
|
tooltip="Rename"
|
||||||
onCommit={(e, value) => onRename(file.uid, value)}
|
onCommit={(value) => onRename(file.uid, value)}
|
||||||
>
|
/>
|
||||||
{file.name}
|
|
||||||
</Button.Input>
|
|
||||||
<Button onClick={() => onOpen(file.uid)}>Open</Button>
|
<Button onClick={() => onOpen(file.uid)}>Open</Button>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
@@ -49,14 +49,13 @@ export const NtosNetChat = (props) => {
|
|||||||
<Box height="560px" overflowY="scroll">
|
<Box height="560px" overflowY="scroll">
|
||||||
<Button.Input
|
<Button.Input
|
||||||
fluid
|
fluid
|
||||||
onCommit={(e, value) =>
|
buttonText="New Channel..."
|
||||||
|
onCommit={(value) =>
|
||||||
act('PRG_newchannel', {
|
act('PRG_newchannel', {
|
||||||
new_channel_name: value,
|
new_channel_name: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
/>
|
||||||
New Channel...
|
|
||||||
</Button.Input>
|
|
||||||
{all_channels.map((channel) => (
|
{all_channels.map((channel) => (
|
||||||
<Button
|
<Button
|
||||||
fluid
|
fluid
|
||||||
@@ -76,15 +75,14 @@ export const NtosNetChat = (props) => {
|
|||||||
<Button.Input
|
<Button.Input
|
||||||
fluid
|
fluid
|
||||||
mt={1}
|
mt={1}
|
||||||
currentValue={username}
|
buttonText={username + '...'}
|
||||||
onCommit={(e, value) =>
|
value={username}
|
||||||
|
onCommit={(value) =>
|
||||||
act('PRG_changename', {
|
act('PRG_changename', {
|
||||||
new_name: value,
|
new_name: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
/>
|
||||||
{username + '...'}
|
|
||||||
</Button.Input>
|
|
||||||
{!!can_admin && (
|
{!!can_admin && (
|
||||||
<Button
|
<Button
|
||||||
fluid
|
fluid
|
||||||
@@ -143,15 +141,14 @@ export const NtosNetChat = (props) => {
|
|||||||
<>
|
<>
|
||||||
<Button.Input
|
<Button.Input
|
||||||
fluid
|
fluid
|
||||||
defaultValue="new_log"
|
buttonText="Save log..."
|
||||||
onCommit={(e, value) =>
|
value="new_log"
|
||||||
|
onCommit={(value) =>
|
||||||
act('PRG_savelog', {
|
act('PRG_savelog', {
|
||||||
log_name: value,
|
log_name: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
/>
|
||||||
Save log...
|
|
||||||
</Button.Input>
|
|
||||||
<Button.Confirm
|
<Button.Confirm
|
||||||
fluid
|
fluid
|
||||||
onClick={() => act('PRG_leavechannel')}
|
onClick={() => act('PRG_leavechannel')}
|
||||||
@@ -170,24 +167,22 @@ export const NtosNetChat = (props) => {
|
|||||||
</Button.Confirm>
|
</Button.Confirm>
|
||||||
<Button.Input
|
<Button.Input
|
||||||
fluid
|
fluid
|
||||||
onCommit={(e, value) =>
|
buttonText="Rename Channel..."
|
||||||
|
onCommit={(value) =>
|
||||||
act('PRG_renamechannel', {
|
act('PRG_renamechannel', {
|
||||||
new_name: value,
|
new_name: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
/>
|
||||||
Rename Channel...
|
|
||||||
</Button.Input>
|
|
||||||
<Button.Input
|
<Button.Input
|
||||||
fluid
|
fluid
|
||||||
onCommit={(e, value) =>
|
buttonText="Set Password..."
|
||||||
|
onCommit={(value) =>
|
||||||
act('PRG_setpassword', {
|
act('PRG_setpassword', {
|
||||||
new_password: value,
|
new_password: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
/>
|
||||||
Set Password...
|
|
||||||
</Button.Input>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Table.Cell>
|
</Table.Cell>
|
||||||
|
|||||||
@@ -16,15 +16,14 @@ export const NtosRevelation = (props) => {
|
|||||||
<Section>
|
<Section>
|
||||||
<Button.Input
|
<Button.Input
|
||||||
fluid
|
fluid
|
||||||
onCommit={(e, value) =>
|
buttonText="Obfuscate Name..."
|
||||||
|
onCommit={(value) =>
|
||||||
act('PRG_obfuscate', {
|
act('PRG_obfuscate', {
|
||||||
new_name: value,
|
new_name: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
mb={1}
|
mb={1}
|
||||||
>
|
/>
|
||||||
Obfuscate Name...
|
|
||||||
</Button.Input>
|
|
||||||
<LabeledList>
|
<LabeledList>
|
||||||
<LabeledList.Item
|
<LabeledList.Item
|
||||||
label="Payload Status"
|
label="Payload Status"
|
||||||
|
|||||||
@@ -34,14 +34,13 @@ export const PlayerNotes = (props) => {
|
|||||||
</Button>
|
</Button>
|
||||||
<Divider />
|
<Divider />
|
||||||
<Button.Input
|
<Button.Input
|
||||||
onCommit={(e, value) =>
|
buttonText="CKEY to Open"
|
||||||
|
onCommit={(value) =>
|
||||||
act('show_player_info', {
|
act('show_player_info', {
|
||||||
name: value,
|
name: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
/>
|
||||||
CKEY to Open
|
|
||||||
</Button.Input>
|
|
||||||
<Divider vertical />
|
<Divider vertical />
|
||||||
<Button color="green" onClick={() => act('clear_player_info_filter')}>
|
<Button color="green" onClick={() => act('clear_player_info_filter')}>
|
||||||
{filter}
|
{filter}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"marked": "^4.3.0",
|
"marked": "^4.3.0",
|
||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0",
|
"react-dom": "^19.1.0",
|
||||||
"tgui-core": "^3.0.5",
|
"tgui-core": "^3.1.2",
|
||||||
"tgui-dev-server": "workspace:*"
|
"tgui-dev-server": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -19885,19 +19885,19 @@ __metadata:
|
|||||||
react: "npm:^19.1.0"
|
react: "npm:^19.1.0"
|
||||||
react-dom: "npm:^19.1.0"
|
react-dom: "npm:^19.1.0"
|
||||||
tgui: "workspace:*"
|
tgui: "workspace:*"
|
||||||
tgui-core: "npm:^3.0.5"
|
tgui-core: "npm:^3.1.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"tgui-core@npm:^3.0.5":
|
"tgui-core@npm:^3.1.2":
|
||||||
version: 3.0.5
|
version: 3.1.2
|
||||||
resolution: "tgui-core@npm:3.0.5"
|
resolution: "tgui-core@npm:3.1.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@floating-ui/react": "npm:^0.27.6"
|
"@floating-ui/react": "npm:^0.27.6"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ^19.1.0
|
react: ^19.1.0
|
||||||
react-dom: ^19.1.0
|
react-dom: ^19.1.0
|
||||||
checksum: 10c0/1916fba12154098c774954a3a98b5ba2ee9770b348fec233c1af4e2bd1e1e8e9910cdbf391b3ef2b7a6ed8cdf1ca8f9c3322ee48e9e018fb44543cc8887f1817
|
checksum: 10c0/bac08177a0509f52e8cb1912d85727c27b70de7dd0ca9c8fd3a863c81aca4b3ca52f09a65f75a4f9a0957f9d9ece0f2b0a16861ab05802fcc3375b2695c361bc
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -19925,7 +19925,7 @@ __metadata:
|
|||||||
react: "npm:^19.1.0"
|
react: "npm:^19.1.0"
|
||||||
react-dom: "npm:^19.1.0"
|
react-dom: "npm:^19.1.0"
|
||||||
tgui: "workspace:*"
|
tgui: "workspace:*"
|
||||||
tgui-core: "npm:^3.0.5"
|
tgui-core: "npm:^3.1.2"
|
||||||
tgui-dev-server: "workspace:*"
|
tgui-dev-server: "workspace:*"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
@@ -19940,7 +19940,7 @@ __metadata:
|
|||||||
react: "npm:^19.1.0"
|
react: "npm:^19.1.0"
|
||||||
react-dom: "npm:^19.1.0"
|
react-dom: "npm:^19.1.0"
|
||||||
tgui: "workspace:*"
|
tgui: "workspace:*"
|
||||||
tgui-core: "npm:^3.0.5"
|
tgui-core: "npm:^3.1.2"
|
||||||
vitest: "npm:^3.1.1"
|
vitest: "npm:^3.1.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
@@ -20002,7 +20002,7 @@ __metadata:
|
|||||||
marked: "npm:^4.3.0"
|
marked: "npm:^4.3.0"
|
||||||
react: "npm:^19.1.0"
|
react: "npm:^19.1.0"
|
||||||
react-dom: "npm:^19.1.0"
|
react-dom: "npm:^19.1.0"
|
||||||
tgui-core: "npm:^3.0.5"
|
tgui-core: "npm:^3.1.2"
|
||||||
tgui-dev-server: "workspace:*"
|
tgui-dev-server: "workspace:*"
|
||||||
vitest: "npm:^3.1.1"
|
vitest: "npm:^3.1.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
|
|||||||
Reference in New Issue
Block a user