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