Oleg Isonen
366021e6a6
Merge pull request #427 from webstudio-is/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2022-11-09 01:23:38 +01:00
Oleg Isonen
3d5cb43f82
Create CODE_OF_CONDUCT.md
2022-11-09 01:23:20 +01:00
Bogdan Chadkin
15972f8925
Allow text editor styles nesting ( #423 )
...
Ref https://github.com/webstudio-is/webstudio-designer/issues/289
Added support for styles inside links and styles inside each other.
Updates can have children updates and ids in updates become optional.
For now code is repetitive in some cases. Will be more general
eventually.
Though still we getting some complexity because lexical represents
italic and bold as single node when intersected.
<img width="413" alt="image"
src="https://user-images.githubusercontent.com/5635476/200588378-058d1042-a628-4f99-9c63-e18b9ecd5a8c.png ">
2022-11-09 01:57:49 +03:00
Oleg Isonen
5e3d2eba25
new scale
2022-11-08 20:41:10 +01:00
Oleg Isonen
cdde8ecebd
Merge pull request #425 from webstudio-is/fix-ci-text-control-prefix-icon
...
FIX CI
2022-11-08 19:03:44 +01:00
Sultan
177c17083a
fix ci, missing dep in effect array
2022-11-08 20:07:29 +03:00
natlusyht
aaeb1c9a58
Merge pull request #415 from webstudio-is/fix-select-control-styles
...
fix select styles to be more inline with N-1 figma design update
2022-11-08 19:21:33 +03:00
natlusyht
7ba12fe2da
Merge pull request #391 from webstudio-is/text-control-prefix-icon
...
Text control prefix icon
2022-11-08 19:20:56 +03:00
Roman Pominov
411aa1666c
Add reusable functions for routes paths ( #419 )
2022-11-08 13:16:51 +03:00
Bogdan Chadkin
a6f7a451bf
Drop legacy text editor ( #416 )
...
Old code no longer used. Can be removed.
2022-11-08 12:19:45 +03:00
Bogdan Chadkin
0c3993dce5
Reimplement text editor ( #412 )
...
Ref https://github.com/webstudio-is/webstudio-designer/issues/289
Previous implementation relied on custom instance nodes which broke a
lot of builtin behaviour.
With new editor I use only builtin nodes. To preserve styling when
entering editing mode className is computed and assigned to lexical
element. Instances are stored in map and reused by updates converted and
className renderer.
Toolbar now shows "checked" state and allows to toggle off styling.
2022-11-08 00:20:17 +03:00
Oleg Isonen
1421f72557
update lost pixel baseline
2022-11-07 19:47:37 +01:00
Oleg Isonen
11c05ae2a7
Merge branch 'main' into fix-select-control-styles
2022-11-07 19:40:38 +01:00
Mateusz Burzyński
2c39885160
Add a file transform to jest to handle assets ( #392 )
...
closes #387
Note that the issue mentions adding an asset import to a story in
`react-sdk`. Right now you also get type errors there on those. In the
designer app you don't get those because types for assets are declared
within the `@remix-run/dev` typedefs that you reference:
https://github.com/webstudio-is/webstudio-designer/blob/a9c2b0e6b9a82ea7f1ff626c47519b8404a67b04/apps/designer/remix.env.d.ts#L1
This is a separate problem though and should be handled separately.
2022-11-07 19:28:47 +01:00
Sultan
6b5c0d6e06
Merge branch 'text-control-prefix-icon' of github.com:webstudio-is/webstudio-designer into text-control-prefix-icon
...
# Conflicts:
# packages/design-system/src/components/combobox.tsx
2022-11-07 21:01:37 +03:00
Sultan
8b5c36d1f9
review amendments
2022-11-07 21:00:18 +03:00
natlusyht and Oleg Isonen
4b7ff95903
Update packages/design-system/src/components/combobox.tsx
...
Co-authored-by: Oleg Isonen <oleg008@gmail.com >
2022-11-07 20:41:54 +03:00
Oleg Isonen
33d003a98b
Merge pull request #385 from webstudio-is/252-fonts-manager-and-fonts-selector
...
Font weights
2022-11-07 17:45:02 +01:00
natlusyht and Oleg Isonen
248f97b887
Update apps/designer/app/designer/features/style-panel/shared/css-value-input/css-value-input.tsx
...
Co-authored-by: Oleg Isonen <oleg008@gmail.com >
2022-11-07 19:43:22 +03:00
natlusyht and Oleg Isonen
e8d9df9e44
Update apps/designer/app/designer/features/style-panel/shared/css-value-input/css-value-input.tsx
...
Co-authored-by: Oleg Isonen <oleg008@gmail.com >
2022-11-07 19:43:08 +03:00
Sultan
93718f6a69
select padding/radius update
2022-11-07 19:33:11 +03:00
Oleg Isonen
82535ca86b
more test cases
2022-11-07 17:08:31 +01:00
Sultan
29a7cf9e76
fix intermediate float invalid state not accepting input
2022-11-07 18:51:12 +03:00
Oleg Isonen
c3f1df5069
more tests
2022-11-07 16:46:42 +01:00
Oleg Isonen
ed9a6f4f05
Merge branch 'main' into 252-fonts-manager-and-fonts-selector
2022-11-07 16:40:10 +01:00
Oleg Isonen
74236cb77c
only replace parts of family that are separate words during normalization
2022-11-07 16:39:56 +01:00
Roman Pominov
e922279ce0
Don't use __DEPRECATED__Text in Label ( #414 )
...
Fixes #381
2022-11-07 18:30:16 +03:00
Oleg Isonen
dadb6dc43c
Merge branch 'main' into text-control-prefix-icon
2022-11-07 16:17:07 +01:00
Oleg Isonen
43453e07d6
Merge branch 'main' into 252-fonts-manager-and-fonts-selector
2022-11-07 16:14:57 +01:00
Oleg Isonen
fa81279c94
explain why we need this function
2022-11-07 16:11:31 +01:00
Oleg Isonen
2fc8940686
don't use regex to avoid the need for escaping
2022-11-07 16:08:53 +01:00
Oleg Isonen
bc14c9931e
clarify uniqueness of the weights
2022-11-07 15:51:48 +01:00
Oleg Isonen
86a3ce2a29
more clarity
2022-11-07 15:38:33 +01:00
Oleg Isonen
62e53326c2
Merge pull request #396 from webstudio-is/fonts-manager-sidebar
...
Asset manager - fonts and images together
2022-11-07 15:29:13 +01:00
Oleg Isonen
c8450d4d44
lint
2022-11-07 15:10:14 +01:00
Oleg Isonen
b57d79cb3c
Merge branch 'main' into text-control-prefix-icon
2022-11-07 15:05:34 +01:00
Oleg Isonen
3147498c25
Merge branch 'main' into fonts-manager-sidebar
2022-11-07 15:01:58 +01:00
Oleg Isonen
e7ff2bdbdb
add variant
2022-11-07 14:39:26 +01:00
Oleg Isonen
67099dd86c
more examples
2022-11-07 14:33:07 +01:00
Sultan
1036425c81
scrub cursor on unit icon
2022-11-07 04:15:40 +03:00
Sultan
1fd290a906
fix select styles to be more inline with N-1 figma design update
2022-11-07 02:46:17 +03:00
Oleg Isonen
c6ac745db6
Merge branch 'main' into fonts-manager-sidebar
2022-11-06 22:54:31 +01:00
Bogdan Chadkin
4949c67b9d
Prepare text toolbar to new text editor ( #398 )
...
Added events to handle toolbar rect and toggled states.
Moved atom subscriber and events types to text toolbar for clarity.
Added event for formatting and moved instance creation to editor side.
2022-11-06 23:03:15 +03:00
Oleg Isonen
90efb65d9f
Merge pull request #383 from webstudio-is/andarist/fix-server-entries
...
Generate actual `/server` entries in packages
2022-11-06 19:41:05 +01:00
Oleg Isonen
c16eba7445
update image thumbs design, add filename, fix ts
2022-11-06 16:17:33 +01:00
Ivan Starkov
8998b184ee
Merge pull request #399 from webstudio-is/admin_jest
...
[jest] Allow inline snapshots
2022-11-06 19:04:38 +04:00
istarkov
ecdfcbde32
Allow inline snapshots
2022-11-06 14:16:08 +00:00
Sultan
63b9d5a0de
review refactor
2022-11-06 13:05:02 +03:00
Oleg Isonen
45111b2bac
Merge branch 'main' into andarist/fix-server-entries
2022-11-06 10:02:51 +01:00
Oleg Isonen
0365f58658
wip search and selected state for image manager
2022-11-06 02:12:07 +01:00