Commit Graph
5224 Commits
Author SHA1 Message Date
Oleg Isonen da692ba926 Merge branch 'main' into 593-custom-fonts-not-rendering-on-canvas 2022-12-11 14:46:05 +00:00
Oleg Isonen 83033f25b3 Merge branch 'main' into 592-font-family-button-changes-size 2022-12-11 14:45:39 +00:00
Oleg Isonen 1a7a7381b4 minWidth also fixes the problem with disrespecting layout contraint 2022-12-11 14:45:07 +00:00
Bogdan Chadkin 0620b5bd08 Setup custom hotkeys for sidebar tree (#594)
Ref https://github.com/webstudio-is/webstudio-designer/issues/579

useHotkeys blocks escape for whole app which breaks radix select as
well. Here I replaced it with onKeyDown on tree root which localized all
interactions.

Ideally remove useHokeys with all its implicit logic everywhere else.
2022-12-11 17:39:53 +03:00
Oleg Isonen 24ea4f8dae with more text button was becoming larger even though the layout has a constraint 2022-12-11 14:10:54 +00:00
Oleg Isonen 1f3692b43c asset status can be undefined if image was not just recently uploaded 2022-12-11 13:59:27 +00:00
Oleg Isonen b353cf1e91 Merge pull request #586 from webstudio-is/asterix-for-FEATURES-env
Support asterix for FEATURES env
2022-12-10 12:58:09 +01:00
Oleg Isonen b09f6ab555 add FEATURES flag to .env example 2022-12-10 11:35:49 +00:00
Oleg Isonen ecd3bf0adc Merge branch 'main' into asterix-for-FEATURES-env 2022-12-10 12:33:43 +01:00
Oleg Isonen a93bb5dd34 support asterix for FEATURES env 2022-12-10 11:32:40 +00:00
Bogdan Chadkin 7637d486a7 Redesign text toolbar (#567)
Ref https://github.com/webstudio-is/webstudio-designer/issues/555
https://github.com/webstudio-is/webstudio-designer/issues/107

Implemented icon button according new design,
added hover and disabled states for non-default variant.

Migrated text toolbar from toggle group to icon button.
Toggle between superscript and subscript.

<img width="285" alt="image"
src="https://user-images.githubusercontent.com/5635476/206522786-28cc6b7d-6336-4c13-8eb7-b83428598dcb.png">

<img width="315" alt="image"
src="https://user-images.githubusercontent.com/5635476/206523165-1b4a080d-0c8d-41a1-b5a9-47c197b78998.png">

<img width="197" alt="image"
src="https://user-images.githubusercontent.com/5635476/206521819-14c1fbb3-6c37-4264-8f7b-cef256b4ab23.png">
2022-12-09 21:50:21 +03:00
Ivan Starkov 6cc2847cf6 Bump versions (#582)
For easier version change next time, now all has same version.
2022-12-09 21:52:10 +04:00
Ivan Starkov 2be8511780 Add new RGB Style, then fix typescript errors (#578)
The reason of use opaque types, as otherwise props like `value` reused
everywhere.



Implemented same as CssValueInputLogic - during input editing nothing
changed.
Error is shown on Enter click. Value resetted on blur.
2022-12-09 20:31:20 +03:00
Oleg Isonen dfba947c33 Merge pull request #565 from webstudio-is/536-when-only-one-image-is-too-large-let-others-upload
Upload each asset separately
2022-12-09 15:12:35 +01:00
Ivan Starkov 71ccafac35 Merge pull request #577 from webstudio-is/fix-blur
Fix menu not closed on blur
2022-12-09 17:09:33 +03:00
Oleg Isonen 3a00378d01 Merge branch 'main' into 536-when-only-one-image-is-too-large-let-others-upload 2022-12-09 14:58:04 +01:00
Oleg Isonen cd6afefa2f do runtime check instead of assertion 2022-12-09 13:57:51 +00:00
Mateusz Burzyński 3794f9a497 Add a composed Storybook (#529)
This PR builds on top of the work done in
https://github.com/webstudio-is/webstudio-designer/pull/519 and
introduces a root-level storybook that just aggregates all of the
per-package storybooks into one.

This allows you to have a single, convenient, URL to visit and browse
all of those existing storybooks at once. To access this storybook you
need to click on the `Details` link attached to the "Storybook Publish:
!webstudio-is/webstudio-designer" status check.

The current URL from this branch is available
[here](https://638affb61acca1e593c6e558-dksaophpxa.chromatic.com/) so
you can take a look at how this looks in practice.
2022-12-09 14:46:23 +01:00
istarkov 5946b0ef0c Fix comments 2022-12-09 13:31:32 +00:00
Oleg Isonen 60a42421d7 fix linter 2022-12-09 13:20:11 +00:00
Oleg Isonen 8dd32073aa Merge pull request #576 from webstudio-is/fix-media-query-specificity
Fix media query specificity
2022-12-09 12:31:59 +01:00
Oleg Isonen 4ed0a41a17 Merge branch 'main' into 536-when-only-one-image-is-too-large-let-others-upload 2022-12-09 11:28:27 +00:00
Oleg Isonen 6c9839d4f8 apparently Infinity - Infinity is NaN 2022-12-09 11:26:14 +00:00
Oleg Isonen c625298605 Merge branch 'main' into fix-media-query-specificity 2022-12-09 11:01:53 +00:00
Oleg Isonen df72608b2d fix the sort order when minWidth is undefined 2022-12-09 10:45:06 +00:00
istarkov b68da38d2b remove console 2022-12-09 09:23:29 +00:00
istarkov b7d8989f63 Fix menu not closed on blur 2022-12-09 09:22:16 +00:00
Andras Bacsai abfe1c15d1 Merge pull request #573 from webstudio-is/fix/eslint-improvements
Eslint improvements
2022-12-09 09:33:49 +01:00
Andras Bacsai a995647084 fix:eslint, bump versions 2022-12-09 09:26:52 +01:00
Andras Bacsai 475c00030c fix: eslint 2022-12-09 09:14:55 +01:00
Andras Bacsai 013e52361e Merge branch 'main' into fix/eslint-improvements 2022-12-09 09:08:50 +01:00
Andras Bacsai c39058bc07 fix: eslints 2022-12-09 08:40:37 +01:00
Oleg Isonen 8c02d46bb1 fix media query specificity 2022-12-09 01:05:59 +00:00
Oleg Isonen 0faa28c0ef Merge branch 'main' into 536-when-only-one-image-is-too-large-let-others-upload 2022-12-08 19:45:15 +01:00
Oleg Isonen 9d84e5fedf move height management to assets panel 2022-12-08 18:36:52 +00:00
Oleg Isonen 0885b092a2 unneeded flex-grow 2022-12-08 18:32:35 +00:00
Oleg Isonen 06737a23ca only load assets when panel opens 2022-12-08 18:32:35 +00:00
Oleg Isonen be2a99acee enable scrolling of panel content when there are many items 2022-12-08 18:32:35 +00:00
Oleg Isonen cfdecb6f73 stop loading assets with project 2022-12-08 18:32:34 +00:00
Bogdan Chadkin 3bc942fdb8 Deprecate legacy icon button in design system (#574)
We are implementing new design with different variants so first
deprecate old implemention and then step by step migrate to new version.
2022-12-08 19:47:47 +03:00
Andras Bacsai f460004d7c Merge branch 'main' into fix/eslint-improvements 2022-12-08 14:35:30 +01:00
Andras Bacsai cadd87e8a1 Merge pull request #570 from webstudio-is/fix/remote-dev
Able to use remote dev environments with IP address
2022-12-08 14:35:19 +01:00
Andras Bacsai c3b0e4c114 add radix eslint check 2022-12-08 14:22:51 +01:00
Andras Bacsai 07a626a5c6 eslint fix 2022-12-08 14:11:29 +01:00
Andras Bacsai 9efecb0da5 fix lints 2022-12-08 14:07:10 +01:00
Andras Bacsai 02d6e508dd Merge branch 'main' into fix/eslint-improvements 2022-12-08 13:44:07 +01:00
Andras Bacsai c8d67198ea add no-internal-modules eslint 2022-12-08 13:41:50 +01:00
Bogdan Chadkin 9e8bbffaa9 Check authenticated user against db (#542)
Ref https://github.com/webstudio-is/webstudio-designer/issues/92

We store user session in storage and checked its existance to check if
user is logged in. Though where we clear db or for example delete user
this session becomes stale so we should check if user exists in db too.
2022-12-08 15:28:39 +03:00
Andras Bacsai 27469787a0 fix eslint 2022-12-08 13:21:37 +01:00
Andras Bacsai 6e738a2fc0 regex for ip address+port 2022-12-08 12:59:11 +01:00