mirror of
https://github.com/penpot/penpot.git
synced 2025-07-03 08:17:22 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
48acc8715b
6 changed files with 20 additions and 5 deletions
|
@ -50,7 +50,8 @@ is a number of cores)
|
||||||
|
|
||||||
### :sparkles: New features
|
### :sparkles: New features
|
||||||
|
|
||||||
- New gradients UI with multi-stop support. [Taiga #3418](https://tree.taiga.io/project/penpot/epic/3418)
|
- [GRADIENTS] New gradients UI with multi-stop support. [Taiga #3418](https://tree.taiga.io/project/penpot/epic/3418)
|
||||||
|
- [GRADIENTS] Radial Gradient [Taiga #8768](https://tree.taiga.io/project/penpot/us/8768)
|
||||||
- Shareable link pointing to an specific board. [Taiga #3219](https://tree.taiga.io/project/penpot/us/3219)
|
- Shareable link pointing to an specific board. [Taiga #3219](https://tree.taiga.io/project/penpot/us/3219)
|
||||||
- Copy styles in CSS [Taiga #9401](https://tree.taiga.io/project/penpot/us/9401)
|
- Copy styles in CSS [Taiga #9401](https://tree.taiga.io/project/penpot/us/9401)
|
||||||
- Copy/paste shape styles (fills, strokes, shadows, etc..) [Taiga #8937](https://tree.taiga.io/project/penpot/us/8937)
|
- Copy/paste shape styles (fills, strokes, shadows, etc..) [Taiga #8937](https://tree.taiga.io/project/penpot/us/8937)
|
||||||
|
|
|
@ -18,7 +18,7 @@ if [ -f ./environ ]; then
|
||||||
source ./environ
|
source ./environ
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export JVM_OPTS="-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j2.configurationFile=log4j2.xml -XX:-OmitStackTraceInFastThrow -Dpolyglot.engine.WarnInterpreterOnly=false --enable-preview $JVM_OPTS"
|
export JVM_OPTS="-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j2.configurationFile=log4j2.xml -XX:-OmitStackTraceInFastThrow --enable-preview $JVM_OPTS"
|
||||||
|
|
||||||
ENTRYPOINT=${1:-app.main};
|
ENTRYPOINT=${1:-app.main};
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
:on-click on-click
|
:on-click on-click
|
||||||
:on-mouse-enter on-mouse-enter
|
:on-mouse-enter on-mouse-enter
|
||||||
:on-mouse-leave on-mouse-leave}
|
:on-mouse-leave on-mouse-leave}
|
||||||
(if @show-text (tr "dashboard.add-file") i/add)]
|
(if @show-text (tr "dashboard.empty-project.create") i/add)]
|
||||||
[:button {:class (stl/css :create-new)
|
[:button {:class (stl/css :create-new)
|
||||||
:on-click on-click}
|
:on-click on-click}
|
||||||
i/add])]))))
|
i/add])]))))
|
||||||
|
|
|
@ -105,9 +105,9 @@
|
||||||
|
|
||||||
.empty-project-container {
|
.empty-project-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: grid;
|
||||||
justify-content: space-around;
|
|
||||||
gap: $s-16;
|
gap: $s-16;
|
||||||
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
margin-top: $s-12;
|
margin-top: $s-12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,6 +130,10 @@
|
||||||
--color-card-title: var(--color-background-secondary);
|
--color-card-title: var(--color-background-secondary);
|
||||||
--color-card-subtitle: var(--color-background-secondary);
|
--color-card-subtitle: var(--color-background-secondary);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
.empty-project-card-title {
|
||||||
|
font-weight: $fw500;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
|
@ -62,6 +62,10 @@
|
||||||
[data-itype="paragraph"] {
|
[data-itype="paragraph"] {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[data-itype="inline"] {
|
||||||
|
white-space-collapse: preserve;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vertical align.
|
// Vertical align.
|
||||||
|
|
|
@ -1066,9 +1066,15 @@ export class SelectionController extends EventTarget {
|
||||||
}
|
}
|
||||||
const collapseNode = fragment.lastElementChild.lastElementChild.firstChild
|
const collapseNode = fragment.lastElementChild.lastElementChild.firstChild
|
||||||
if (this.isParagraphStart) {
|
if (this.isParagraphStart) {
|
||||||
|
const a = fragment.lastElementChild;
|
||||||
|
const b = this.focusParagraph;
|
||||||
this.focusParagraph.before(fragment);
|
this.focusParagraph.before(fragment);
|
||||||
|
mergeParagraphs(a, b);
|
||||||
} else if (this.isParagraphEnd) {
|
} else if (this.isParagraphEnd) {
|
||||||
|
const a = this.focusParagraph;
|
||||||
|
const b = fragment.firstElementChild;
|
||||||
this.focusParagraph.after(fragment);
|
this.focusParagraph.after(fragment);
|
||||||
|
mergeParagraphs(a, b);
|
||||||
} else {
|
} else {
|
||||||
const newParagraph = splitParagraph(
|
const newParagraph = splitParagraph(
|
||||||
this.focusParagraph,
|
this.focusParagraph,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue