mirror of
https://github.com/penpot/penpot.git
synced 2026-11-16 15:11:17 +00:00
Merge remote-tracking branch 'origin/main' into staging-2.19.x
This commit is contained in:
commit
a39dee6d79
@ -56,7 +56,7 @@ Penpot uses anonymous telemetries from the self-hosted instances to improve the
|
||||
Consider sharing these anonymous telemetries enabling the corresponding flag:
|
||||
|
||||
```bash
|
||||
PENPOT_FLAGS: [...] enable-telemetries
|
||||
PENPOT_FLAGS: [...] enable-telemetry
|
||||
```
|
||||
|
||||
## Registration and authentication
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build colors-to-tokens-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build colors-to-tokens-plugin",
|
||||
"build:dev": "ng build colors-to-tokens-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=colors-to-tokens-plugin",
|
||||
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=colors-to-tokens-plugin --watch",
|
||||
|
||||
@ -72,7 +72,9 @@ export class AppComponent {
|
||||
messages$ = fromEvent<MessageEvent<PluginMessageEvent>>(window, 'message');
|
||||
|
||||
initialTheme$ = of(
|
||||
new URLSearchParams(window.location.search).get('theme'),
|
||||
// The theme arrives in the query string or in the query part of the hash.
|
||||
new URLSearchParams(window.location.search).get('theme') ??
|
||||
new URLSearchParams(window.location.hash.split('?')[1]).get('theme'),
|
||||
).pipe(filter((theme) => !!theme));
|
||||
|
||||
theme = toSignal(
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build contrast-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build contrast-plugin",
|
||||
"build:dev": "ng build contrast-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=contrast-plugin",
|
||||
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=contrast-plugin --watch",
|
||||
|
||||
@ -115,7 +115,9 @@ export class AppComponent {
|
||||
#messages$ = fromEvent<MessageEvent<PluginMessageEvent>>(window, 'message');
|
||||
|
||||
#initialTheme$ = of(
|
||||
new URLSearchParams(window.location.search).get('theme'),
|
||||
// The theme arrives in the query string or in the query part of the hash.
|
||||
new URLSearchParams(window.location.search).get('theme') ??
|
||||
new URLSearchParams(window.location.hash.split('?')[1]).get('theme'),
|
||||
).pipe(filter((theme) => !!theme));
|
||||
|
||||
selection = toSignal(
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build icons-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build icons-plugin",
|
||||
"build:dev": "ng build icons-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=icons-plugin",
|
||||
"build:plugin:watch": "node ../../tools/scripts/build-plugin.mjs --plugin=icons-plugin --watch",
|
||||
|
||||
@ -44,7 +44,9 @@ export class AppComponent {
|
||||
);
|
||||
|
||||
public initialTheme$ = of(
|
||||
new URLSearchParams(window.location.search).get('theme'),
|
||||
// The theme arrives in the query string or in the query part of the hash.
|
||||
new URLSearchParams(window.location.search).get('theme') ??
|
||||
new URLSearchParams(window.location.hash.split('?')[1]).get('theme'),
|
||||
).pipe(filter((theme) => !!theme));
|
||||
|
||||
public theme = toSignal(
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build lorem-ipsum-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build lorem-ipsum-plugin",
|
||||
"build:dev": "ng build lorem-ipsum-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=lorem-ipsum-plugin",
|
||||
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=lorem-ipsum-plugin --watch",
|
||||
|
||||
@ -69,7 +69,9 @@ export class AppComponent {
|
||||
messages$ = fromEvent<MessageEvent<PluginMessageEvent>>(window, 'message');
|
||||
|
||||
initialTheme$ = of(
|
||||
new URLSearchParams(window.location.search).get('theme'),
|
||||
// The theme arrives in the query string or in the query part of the hash.
|
||||
new URLSearchParams(window.location.search).get('theme') ??
|
||||
new URLSearchParams(window.location.hash.split('?')[1]).get('theme'),
|
||||
).pipe(filter((theme) => !!theme));
|
||||
|
||||
theme = toSignal(
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build poc-state-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build poc-state-plugin",
|
||||
"build:dev": "ng build poc-state-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=poc-state-plugin",
|
||||
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=poc-state-plugin --watch",
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build poc-tokens-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build poc-tokens-plugin",
|
||||
"build:dev": "ng build poc-tokens-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=poc-tokens-plugin",
|
||||
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=poc-tokens-plugin --watch",
|
||||
|
||||
@ -44,7 +44,9 @@ export class AppComponent {
|
||||
);
|
||||
|
||||
public initialTheme$ = of(
|
||||
new URLSearchParams(window.location.search).get('theme'),
|
||||
// The theme arrives in the query string or in the query part of the hash.
|
||||
new URLSearchParams(window.location.search).get('theme') ??
|
||||
new URLSearchParams(window.location.hash.split('?')[1]).get('theme'),
|
||||
).pipe(filter((theme) => !!theme));
|
||||
|
||||
public theme = toSignal(
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build rename-layers-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build rename-layers-plugin",
|
||||
"build:dev": "ng build rename-layers-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=rename-layers-plugin",
|
||||
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=rename-layers-plugin --watch",
|
||||
|
||||
@ -38,7 +38,9 @@ export class AppComponent {
|
||||
}
|
||||
|
||||
initialTheme$ = of(
|
||||
new URLSearchParams(window.location.search).get('theme'),
|
||||
// The theme arrives in the query string or in the query part of the hash.
|
||||
new URLSearchParams(window.location.search).get('theme') ??
|
||||
new URLSearchParams(window.location.hash.split('?')[1]).get('theme'),
|
||||
).pipe(filter((theme) => !!theme));
|
||||
|
||||
theme = toSignal(
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build table-plugin && pnpm run build:plugin",
|
||||
"build": "pnpm run build:plugin && ng build table-plugin",
|
||||
"build:dev": "ng build table-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=table-plugin",
|
||||
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=table-plugin --watch",
|
||||
|
||||
@ -40,7 +40,9 @@ export class AppComponent {
|
||||
messages$ = fromEvent<MessageEvent<PluginMessageEvent>>(window, 'message');
|
||||
|
||||
initialTheme$ = of(
|
||||
new URLSearchParams(window.location.search).get('theme'),
|
||||
// The theme arrives in the query string or in the query part of the hash.
|
||||
new URLSearchParams(window.location.search).get('theme') ??
|
||||
new URLSearchParams(window.location.hash.split('?')[1]).get('theme'),
|
||||
).pipe(filter((theme) => !!theme));
|
||||
|
||||
theme = toSignal(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user