Oleg Isonen
|
fd15c17685
|
add prettier checks
|
2022-06-20 00:46:01 +02:00 |
|
Oleg Isonen
|
d7e4363c7f
|
don't add padding to root element
|
2022-06-18 20:32:14 +02:00 |
|
Oleg Isonen
|
d6ed80256b
|
fix selecting instance from left sidebar and breadcrumbs
|
2022-06-17 21:52:29 +02:00 |
|
Oleg Isonen
|
c4c16acf41
|
Merge pull request #63 from webstudio-is/56-better-instance-outline--outside-iframe
Better instance outline from outside iframe
|
2022-06-16 12:36:56 +01:00 |
|
Oleg Isonen
|
5f2d199c3e
|
refix selecting the instance
- new added instance get selected
- when instance is deleted closests instance get selected
- click on workspace unselects an instance
|
2022-06-15 21:29:12 +02:00 |
|
Oleg Isonen
|
47f6b410eb
|
fix the empty selector
|
2022-06-15 19:26:46 +02:00 |
|
Oleg Isonen
|
b80bbc0002
|
use relative unit for line-height to avoid a fixed line-height being inherited and then be wrong for an element that didn't define own line-height
|
2022-06-15 18:42:41 +02:00 |
|
Oleg Isonen
|
9443a17cc1
|
for now make outline for hover/selected look the same
this avoids broken look when they overlap
|
2022-06-15 18:42:02 +02:00 |
|
Oleg Isonen
|
55e39b7047
|
make hovered image always render on top based on source order, no need for z-index
|
2022-06-15 18:25:52 +02:00 |
|
Oleg Isonen
|
8f04922f76
|
remove focus event handling on the canvas
I think now that design-mode of canvas is not supposed to treat focus events same way as preview/published site
|
2022-06-15 17:24:52 +02:00 |
|
Oleg Isonen
|
a5e1bb4c06
|
use resize observer to track instance client rect changes
|
2022-06-15 17:12:28 +02:00 |
|
Oleg Isonen
|
0267c0ab72
|
don't show hover outlines for selected instance
|
2022-06-15 16:42:33 +02:00 |
|
Oleg Isonen
|
56e2af1c95
|
prevent line break on outline label - if element is small it would go multi line if label has space e.g. Bold Text
|
2022-06-15 15:41:46 +02:00 |
|
Oleg Isonen
|
58bf7afd4d
|
lint
|
2022-06-15 15:36:16 +02:00 |
|
Oleg Isonen
|
df51975cd4
|
ensure selected element stays selected after switching to preview mode and back
|
2022-06-15 15:30:45 +02:00 |
|
Oleg Isonen
|
f0eb6faa05
|
don't show focus ring on canvas in design mode?
|
2022-06-15 00:31:09 +02:00 |
|
Oleg Isonen
|
d18d82c4d1
|
don't render hover outline for a selected element
|
2022-06-15 00:25:52 +02:00 |
|
Oleg Isonen
|
aa69bbc1f8
|
don't apply empty styles to void elements
|
2022-06-14 16:08:48 +02:00 |
|
Oleg Isonen
|
c402a67e36
|
unselect instance by click on workspace
|
2022-06-14 15:44:34 +02:00 |
|
Oleg Isonen
|
11c868e430
|
move instance specific hooks to instance.ts hooks collection (probably needs to be split)
|
2022-06-14 15:33:55 +02:00 |
|
Oleg Isonen
|
94f230a5dd
|
ensure automatic selected/hovered instance settter by reacting to selected/hovered element
|
2022-06-14 15:30:35 +02:00 |
|
Oleg Isonen
|
a4ae1e7e97
|
remove outline on contenteditable elements
|
2022-06-14 12:56:19 +02:00 |
|
Oleg Isonen
|
cc15654f2e
|
ensure min height directly on the empty element, which automatically goes away once there is a node inside
|
2022-06-14 12:51:45 +02:00 |
|
Oleg Isonen
|
2b343113d7
|
outline hovered instance during drag&drop
|
2022-06-13 22:54:34 +02:00 |
|
Oleg Isonen
|
cefded59ba
|
fix infinite loop
|
2022-06-13 22:54:13 +02:00 |
|
Oleg Isonen
|
08871ddd83
|
Merge branch 'main' into 56-better-instance-outline--outside-iframe
|
2022-06-13 22:42:00 +02:00 |
|
Oleg Isonen
|
5a1d644bc1
|
add prettier as dev deps
|
2022-06-13 22:41:38 +02:00 |
|
Oleg Isonen
|
d5a1df6adf
|
return empty element outline
|
2022-06-13 20:23:00 +02:00 |
|
Oleg Isonen
|
858cc6dd8d
|
reset hovered instance outline when mouse is out
|
2022-06-13 15:50:44 +02:00 |
|
Oleg Isonen
|
b0d5a95b16
|
Merge branch 'main' into 56-better-instance-outline--outside-iframe
|
2022-06-13 15:24:28 +02:00 |
|
Oleg Isonen
|
69140cb323
|
move the cached getComputedStyle and getBoundingClientRect back into where its used
seems dangerous to expose them and unexpectedly cleanup cache
|
2022-06-13 15:19:47 +02:00 |
|
Oleg Isonen
|
0890e6f8a7
|
delete old outline implementation
|
2022-06-13 15:05:06 +02:00 |
|
Oleg Isonen
|
673c94e3ce
|
handle hover outline
|
2022-06-13 15:01:39 +02:00 |
|
Oleg Isonen
|
2cdf649cc9
|
cleanup outlines
|
2022-06-13 13:40:40 +02:00 |
|
Oleg Isonen
|
4b4157493e
|
finally a working label positioning with 3 states: top, bottom, inside
|
2022-06-13 13:19:23 +02:00 |
|
Oleg Isonen
|
479a57d509
|
shared/component > shared/canvas-components
|
2022-06-12 15:46:00 +02:00 |
|
Oleg Isonen
|
fe0814fa97
|
wip label position
|
2022-06-12 15:42:36 +02:00 |
|
Oleg Isonen
|
5d9990c371
|
Merge branch 'main' into 56-better-instance-outline--outside-iframe
|
2022-06-09 21:22:07 +02:00 |
|
Oleg Isonen
|
eea856dc2a
|
fix types
|
2022-06-09 20:56:27 +02:00 |
|
Oleg Isonen
|
1bd9626912
|
correct outline position
|
2022-06-09 19:41:47 +02:00 |
|
Oleg Isonen
|
946f3ccce3
|
position on detection during window resize
|
2022-06-09 16:02:54 +02:00 |
|
Oleg Isonen
|
061c6373a6
|
Merge branch 'main' into 56-better-instance-outline--outside-iframe
|
2022-06-09 12:50:31 +02:00 |
|
Sara Vieira
|
d45a8268b7
|
Merge pull request #60 from webstudio-is/fix-clone
|
2022-06-07 14:55:42 +03:00 |
|
Sara Vieira
|
24e1a070ed
|
fix clone project
|
2022-06-07 14:52:21 +03:00 |
|
Sara Vieira
|
8a044d2dce
|
update sdk version
|
2022-06-07 14:41:29 +03:00 |
|
Sara Vieira
|
350025d360
|
Merge pull request #49 from webstudio-is/sqllite
|
2022-06-07 14:26:02 +03:00 |
|
Sara Vieira
|
64085a5977
|
overide some types
|
2022-06-07 14:22:51 +03:00 |
|
Sara Vieira
|
a33cbf3a33
|
import types correctly
|
2022-06-07 14:17:41 +03:00 |
|
Oleg Isonen
|
082750ec54
|
wip outline from parent window
|
2022-06-07 11:31:45 +02:00 |
|
Sara Vieira
|
620fc6edb9
|
remove ts-node
|
2022-06-07 10:14:46 +03:00 |
|