From 424609a0f677460ae2af05291fbadf4c119f796e Mon Sep 17 00:00:00 2001 From: seb Date: Wed, 14 Oct 2026 01:13:09 +0200 Subject: [PATCH] u --- src/components/AppDialog.jsx | 2 ++ src/components/chat/ChatFlowList.jsx | 2 +- src/components/manifest/OrderPaymentList.jsx | 2 +- src/components/manifest/ShipmentList.jsx | 2 +- .../settings/McpAuthorizationsPanel.jsx | 2 +- src/components/settings/SettingsKeysPanel.jsx | 2 -- src/components/vfs/VfsAppletForm.jsx | 2 +- src/routes/artikel/vorlagen.jsx | 16 +++++++++------- 8 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/components/AppDialog.jsx b/src/components/AppDialog.jsx index f385c58..3b447ac 100644 --- a/src/components/AppDialog.jsx +++ b/src/components/AppDialog.jsx @@ -59,6 +59,7 @@ class AppDialog extends Component { const { transitionDuration: _transitionDuration, TransitionProps: _transitionProps, + transitionProps: _lowerTransitionProps, TransitionComponent: _transitionComponent, // Legacy MUI prop (removed in v9) — merge into slotProps.paper instead // of spreading onto Dialog/DOM where it triggers @@ -71,6 +72,7 @@ class AppDialog extends Component { } = this.props; void _transitionDuration; void _transitionProps; + void _lowerTransitionProps; void _transitionComponent; const userPaper = userSlotProps?.paper ?? {}; diff --git a/src/components/chat/ChatFlowList.jsx b/src/components/chat/ChatFlowList.jsx index c3f77d6..f1d013f 100644 --- a/src/components/chat/ChatFlowList.jsx +++ b/src/components/chat/ChatFlowList.jsx @@ -209,7 +209,7 @@ class ClickTooltip extends PureComponent { disableTouchListener enterDelay={0} leaveDelay={0} - TransitionProps={{ timeout: 0 }} + slotProps={{ transition: { timeout: 0 } }} title={title} arrow placement="top" diff --git a/src/components/manifest/OrderPaymentList.jsx b/src/components/manifest/OrderPaymentList.jsx index a267bdb..27f0763 100644 --- a/src/components/manifest/OrderPaymentList.jsx +++ b/src/components/manifest/OrderPaymentList.jsx @@ -317,7 +317,7 @@ class RecordPaymentDialog extends PureComponent { type="number" value={amount} onChange={(e) => this.setState({ amount: e.target.value })} - inputProps={{ min: 0.01, step: 'any' }} + slotProps={{ htmlInput: { min: 0.01, step: 'any' } }} /> diff --git a/src/components/manifest/ShipmentList.jsx b/src/components/manifest/ShipmentList.jsx index 8560cc4..67927ae 100644 --- a/src/components/manifest/ShipmentList.jsx +++ b/src/components/manifest/ShipmentList.jsx @@ -388,7 +388,7 @@ class NewShipmentModal extends PureComponent { value={currentVal} onChange={(e) => this.handleAmountChange(line.sku, e.target.value)} disabled={remaining <= 0} - inputProps={{ min: 0, max: remaining, step: 'any', style: { textAlign: 'right' } }} + slotProps={{ htmlInput: { min: 0, max: remaining, step: 'any', style: { textAlign: 'right' } } }} sx={{ width: 100 }} /> diff --git a/src/components/settings/McpAuthorizationsPanel.jsx b/src/components/settings/McpAuthorizationsPanel.jsx index e5d15d1..54b3fe8 100644 --- a/src/components/settings/McpAuthorizationsPanel.jsx +++ b/src/components/settings/McpAuthorizationsPanel.jsx @@ -212,7 +212,7 @@ export default class McpAuthorizationsPanel extends Component { - + {auth.clientName || 'Unbenannter Client'} diff --git a/src/components/settings/SettingsKeysPanel.jsx b/src/components/settings/SettingsKeysPanel.jsx index a1bb202..c306c06 100644 --- a/src/components/settings/SettingsKeysPanel.jsx +++ b/src/components/settings/SettingsKeysPanel.jsx @@ -227,7 +227,6 @@ export default class SettingsKeysPanel extends Component { disabled={draft.busy} onChange={(e) => this.handleChange(row.key, 'value', e.target.value)} slotProps={{ htmlInput: { spellCheck: false } }} - inputProps={{ spellCheck: false }} > {enumOpts.map((opt) => { const val = typeof opt === 'object' ? opt.value : opt; @@ -258,7 +257,6 @@ export default class SettingsKeysPanel extends Component { }} autoComplete="off" slotProps={{ htmlInput: { spellCheck: false, autoCorrect: 'off', autoCapitalize: 'off' } }} - inputProps={{ spellCheck: false, autoCorrect: 'off', autoCapitalize: 'off' }} /> )} diff --git a/src/components/vfs/VfsAppletForm.jsx b/src/components/vfs/VfsAppletForm.jsx index f1122b1..01312de 100644 --- a/src/components/vfs/VfsAppletForm.jsx +++ b/src/components/vfs/VfsAppletForm.jsx @@ -129,7 +129,7 @@ export default class VfsAppletForm extends PureComponent { disabled={Boolean(readOnly)} helperText={prop?.description || (prop?.default !== undefined ? `Standard: ${String(prop.default)}` : '')} onChange={(e) => this.handleFieldChange(key, e.target.value)} - inputProps={{ autoComplete: 'off', autoCorrect: 'off', autoCapitalize: 'off', spellCheck: false }} + slotProps={{ htmlInput: { autoComplete: 'off', autoCorrect: 'off', autoCapitalize: 'off', spellCheck: false } }} sx={{ '& .MuiInputBase-input': { fontSize: '0.85rem' } }} /> ); diff --git a/src/routes/artikel/vorlagen.jsx b/src/routes/artikel/vorlagen.jsx index e682dc8..69673f4 100644 --- a/src/routes/artikel/vorlagen.jsx +++ b/src/routes/artikel/vorlagen.jsx @@ -399,13 +399,15 @@ class ArtikelVorlagenPage extends PureComponent { onChange={this.handleHeightMmChange} onBlur={this.handleHeightMmBlur} disabled={saving} - InputProps={{ - endAdornment: mm, - }} - inputProps={{ - min: MIN_HEIGHT_MM, - max: 300, - step: 1, + slotProps={{ + input: { + endAdornment: mm, + }, + htmlInput: { + min: MIN_HEIGHT_MM, + max: 300, + step: 1, + }, }} sx={{ width: 120 }} />