0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-12 23:11:23 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Andrey Antukh 2025-04-01 18:26:37 +02:00
commit dccebb0bea
5 changed files with 10 additions and 1 deletions

View file

@ -61,7 +61,7 @@
- Fix incorrect handling of background task result (now task rows are properly marked as completed)
- Fix available size of resize handler [Taiga #10639](https://tree.taiga.io/project/penpot/issue/10639)
- Internal error when install a plugin by penpothub - Try plugin [Taiga #10542](https://tree.taiga.io/project/penpot/issue/10542)
- Add character limitation to asset inputs [Taiga #10669](https://tree.taiga.io/project/penpot/issue/10669)
## 2.5.4

View file

@ -8,6 +8,7 @@
(:require-macros [app.main.style :as stl])
(:require
[app.common.data.macros :as dm]
[app.main.constants :refer [max-input-length]]
[app.main.ui.icons :as i]
[app.util.dom :as dom]
[app.util.keyboard :as kbd]
@ -93,6 +94,7 @@
:default-value value
:on-key-up on-key-up
:on-double-click on-dbl-click
:max-length max-input-length
:on-blur cancel-edition}]
[:span {:class (stl/css :editable-label-close)

View file

@ -20,6 +20,8 @@
.text-row {
@extend .attr-row;
height: unset;
min-height: $s-32;
:global(.attr-value) {
align-items: center;
}

View file

@ -10,6 +10,7 @@
[app.common.data :as d]
[app.common.data.macros :as dm]
[app.common.files.helpers :as cfh]
[app.main.constants :refer [max-input-length]]
[app.main.data.event :as ev]
[app.main.data.modal :as modal]
[app.main.data.workspace :as dw]
@ -220,6 +221,7 @@
:on-blur input-blur
:on-key-down input-key-down
:auto-focus true
:max-length max-input-length
:default-value (cfh/merge-path-item (:path color) (:name color))}]
[:div {:title (if (= (:name color) default-name)

View file

@ -12,6 +12,7 @@
[app.common.data.macros :as dm]
[app.common.exceptions :as ex]
[app.common.text :as txt]
[app.main.constants :refer [max-input-length]]
[app.main.data.common :as dcm]
[app.main.data.fonts :as fts]
[app.main.data.shortcuts :as dsc]
@ -483,6 +484,7 @@
:type "text"
:ref name-input-ref
:default-value (:name typography)
:max-length max-input-length
:on-key-down on-key-down
:on-blur on-name-blur}]
@ -615,6 +617,7 @@
:type "text"
:ref name-input-ref
:default-value (:name typography)
:max-length max-input-length
:on-key-down on-key-down
:on-blur on-name-blur}]]
[:div