Commit Graph
87 Commits
Author SHA1 Message Date
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 a5e1bb4c06 use resize observer to track instance client rect changes 2022-06-15 17:12:28 +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 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 673c94e3ce handle hover outline 2022-06-13 15:01:39 +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 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 24e1a070ed fix clone project 2022-06-07 14:52:21 +03:00
Sara Vieira 64085a5977 overide some types 2022-06-07 14:22:51 +03:00
Oleg Isonen 082750ec54 wip outline from parent window 2022-06-07 11:31:45 +02:00
Sara Vieira 659ae22262 rename ParsedProject 2022-06-07 10:10:28 +03:00
Sara Vieira 77afb9b65f Merge branch 'main' of github.com:webstudio-is/webstudio-designer into sqllite 2022-06-07 10:04:12 +03:00
Oleg Isonen 6c7983d841 Merge branch 'main' into 56-better-instance-outline--outside-iframe 2022-06-06 14:40:19 +02:00
Oleg Isonen 735082bcf7 introduce shared nano states, rename nano values to nano states 2022-06-06 14:36:14 +02:00
Oleg Isonen f313c70d87 rationale for useWindowResize 2022-06-06 01:05:32 +02:00
Oleg Isonen 6f2a09855f make sure we subscribe to resize event only once and the rest happens over a js emitter 2022-06-06 01:02:09 +02:00
Oleg Isonen 3b7c3c4a73 render absolutely positioned outline 2022-06-05 16:38:12 +02:00
Sara Vieira e956b89481 try to remove disconnect 2022-06-01 23:01:51 +02:00
Sara Vieira c7cb304e91 fix ts 2022-06-01 21:39:07 +02:00
Sara Vieira 5bd251835e Merge branch 'main' of github.com:webstudio-is/webstudio-designer into sqllite 2022-06-01 21:26:53 +02:00
Oleg Isonen 629f4feae5 fixes bouncing back animation from native thumbnail on drop
This is fixed by not showing the native thumbnail, but instead showing one rendered manually
2022-05-30 23:48:33 +02:00
Sara Vieira a91fe82d4b Merge branch 'sqllite' of github.com:webstudio-is/webstudio-designer into sqllite 2022-05-26 18:55:24 +03:00
Sara Vieira 9ecac6e872 type fixes 2022-05-26 18:52:29 +03:00
Sara VieiraandOleg Isonen 223c4c5a06 Update app/shared/db/breakpoints.server.ts
Co-authored-by: Oleg Isonen <oleg008@gmail.com>
2022-05-26 12:24:45 +03:00
Sara Vieira 52989107fa Merge branch 'main' into sqllite 2022-05-26 11:24:27 +02:00
Oleg Isonen b5a09714ae update imports for the new location 2022-05-26 00:26:37 +02:00
Oleg Isonen d08f42e33d combobox instead of autocomplete 2022-05-26 00:21:25 +02:00
Sara Vieira 9fcc1e9b8f use correct remix versions 2022-05-24 23:29:59 +03:00
Sara Vieira bf49390de9 move to sqlite 2022-05-21 18:37:19 +02:00
Sara Vieira 9b9bb5f8b7 fix ts 2022-05-17 22:05:50 +02:00
Oleg Isonen ab9835b30d take the smallest breakpoint as default when creating a new project
no longer require to have a 0 minWidth breakpoint
2022-05-11 00:18:03 +02:00
Oleg Isonen 54373336ee move sort to shared 2022-05-11 00:15:48 +02:00
Oleg Isonen 56d30269a6 clone breakpoints when cloning the project 2022-05-10 19:34:37 +02:00
Oleg Isonen aeabf711ca clone breakpoints when publishing 2022-05-09 20:59:21 +02:00
Oleg Isonen a0454ed430 use tree id in _id of breakpoints 2022-05-09 20:31:17 +02:00
Oleg Isonen 1388f7be67 add breakpoints rest 2022-05-07 15:20:45 +02:00
Oleg Isonen ac58b33535 shortcuts for zoom and breakpoints menu 2022-05-04 15:19:15 +02:00
Oleg Isonen 5e85dca686 highlight the property name with blue color when value comes from the current breakpoint 2022-05-04 14:37:28 +02:00
Oleg Isonen af11c8f15f scale > zoom 2022-05-03 14:50:07 +02:00
Oleg Isonen 9f97f876af rename ui to control 2022-05-02 16:34:52 +02:00
Oleg Isonen 580b097ced Delete delete-breakpoint.test.ts.snap 2022-05-01 23:54:04 +02:00
Oleg Isonen e3c9eb1447 create root component with styles on a breakpoint
for this we need to create breakpoints first
2022-05-01 23:51:50 +02:00
Oleg Isonen a27e1f8530 delete instance css rules associated with the deleted breakpoint 2022-04-29 22:15:21 +01:00
Oleg Isonen 319e716d22 deletion confirmation 2022-04-29 21:24:38 +01:00
Oleg Isonen 7233793f3d shortcuts 2022-04-29 00:02:27 +01:00
Oleg Isonen 7cb2e16155 render a hint when canvas is too small an the breakpoint doesn't apply 2022-04-28 10:57:58 +01:00