Compare commits

..

2 Commits

Author SHA1 Message Date
BOHA
ea3b595b32 chore(release): v2.4.25 - autosize item descriptions
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 08:16:43 +02:00
BOHA
e9b432bec6 feat(documents): autosize item descriptions (minRows 2, maxRows 16)
The 'Podrobny popis' textareas in the shared items editor and the invoice
page now grow with content like the rich-text editor (fixed rows={2} ->
minRows/maxRows autosize), capped at 16 rows; the manual vertical resize
handle stays.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 08:16:43 +02:00
4 changed files with 11 additions and 7 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "app-ts",
"version": "2.4.24",
"version": "2.4.25",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "app-ts",
"version": "2.4.24",
"version": "2.4.25",
"license": "ISC",
"dependencies": {
"@anthropic-ai/sdk": "^0.102.0",

View File

@@ -1,6 +1,6 @@
{
"name": "app-ts",
"version": "2.4.24",
"version": "2.4.25",
"description": "",
"main": "dist/server.js",
"scripts": {

View File

@@ -214,7 +214,8 @@ function SortableItemRow({
placeholder="Volitelný"
InputProps={{ readOnly }}
multiline
rows={2}
minRows={2}
maxRows={16}
slotProps={{ htmlInput: { maxLength: itemDescriptionMaxLength } }}
sx={{ "& textarea": { resize: "vertical" } }}
/>
@@ -352,7 +353,8 @@ function SortableItemRow({
placeholder="Podrobný popis (volitelný)"
InputProps={{ readOnly }}
multiline
rows={2}
minRows={2}
maxRows={16}
slotProps={{ htmlInput: { maxLength: itemDescriptionMaxLength } }}
sx={{
"& textarea": {

View File

@@ -317,7 +317,8 @@ function SortableInvoiceRow({
onChange={(e) => onUpdate(index, "item_description", e.target.value)}
placeholder="Volitelný"
multiline
rows={2}
minRows={2}
maxRows={16}
sx={{ "& textarea": { resize: "vertical" } }}
/>
<Box
@@ -418,7 +419,8 @@ function SortableInvoiceRow({
}
placeholder="Podrobný popis (volitelný)"
multiline
rows={2}
minRows={2}
maxRows={16}
sx={{
"& textarea": {
fontSize: "0.8rem",