Commit Graph
148 Commits
Author SHA1 Message Date
Oleg Isonen 5cfd07ea6e set initial width to the smallest mobile breakpoint, constraint the width resizing, unconstrained in preview 2022-05-05 14:36:26 +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 bfb021052b remove unused controls 2022-05-02 16:27:18 +02:00
Oleg Isonen 734f464131 update preview breakpoint when setting selected breakpoint 2022-05-02 15:34:17 +02:00
Oleg Isonen 07215e03f1 remove default breakpoint, start mobile one from 0 2022-05-02 13:57:46 +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 a8ed588297 fix pre version 2022-05-01 21:53:56 +02:00
Oleg Isonen 5f70d9da79 use sdk 0.2.0 pre 2022-05-01 15:36:02 +02:00
Oleg Isonen 4d7ffd4eb9 pass updated breakpoint to stitches 2022-04-29 22:44:01 +01: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 253252f89e delete selected berakpoint from menu and select a new one 2022-04-29 00:24:11 +01:00
Oleg Isonen 1d24d51983 close breakpoints menu when canvas clicked 2022-04-29 00:23:03 +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
Oleg Isonen cf701a3474 reuse will render logic 2022-04-28 09:42:12 +01:00
Oleg Isonen 4699770392 thinner tablet icon 2022-04-28 09:41:56 +01:00
Oleg Isonen bfb021f018 render icons 2022-04-28 00:37:23 +01:00
Oleg Isonen 8795e894c5 more visual tweaks 2022-04-27 21:52:59 +01:00
Oleg Isonen 73669b1eea indicate in breakpoint button that breakpoint doesn't apply to canvas 2022-04-27 21:50:12 +01:00
Oleg Isonen 7dd4618598 indicate a breakpoint that applies 2022-04-27 20:52:20 +01:00
Oleg Isonen 6f61a4808b improving canvas width slider and related logic 2022-04-27 17:54:41 +01:00
Oleg Isonen 9ae2bcecb4 enable scrolling the worspace 2022-04-27 09:57:52 +01:00
Oleg Isonen 283283d96f wip width setting 2022-04-26 23:48:19 +01:00
Oleg Isonen 18fc8435e2 scale feature 2022-04-26 21:17:19 +01:00
Oleg Isonen a08cc5e185 delete breakpoint 2022-04-26 02:11:16 +01:00
Oleg Isonen d21e526a13 remove default breakpoint and ref, enable creating new breakpoints 2022-04-26 00:14:04 +01:00
Oleg Isonen 0db359b36f reorg breakpoints editor 2022-04-25 11:20:27 +01:00
Oleg Isonen 86cf09fc60 debounce breakpoint change 2022-04-25 10:47:45 +01:00
Oleg Isonen 539da2ba4f memoize initialized breakpoints 2022-04-25 10:47:35 +01:00
Oleg Isonen 2403d8dd8e save breakpoint change to db 2022-04-25 01:02:46 +01:00
Oleg Isonen d47e9f6eed put breakpoints into the db 2022-04-24 02:34:58 +01:00
Oleg Isonen ffda835d71 remove jumps between editing mode for breakpoints 2022-04-24 01:16:35 +01:00
Oleg Isonen a3081fded9 better breakpoints rendering 2022-04-23 16:52:41 +01:00
Oleg Isonen 5116ea4140 predefined breakpoints now loaded from server
in preparation to be loaded form db
2022-04-20 17:34:42 +01:00
Oleg Isonen e3fe64b08d breakpoints selection and editing ui 2022-04-18 09:16:44 +01:00
Oleg Isonen 5e553a4bd7 feature can't depend on feature 2022-04-17 22:59:58 +01:00
Oleg Isonen db9c016896 update radix-ui, get rid of the ts error 2022-04-14 16:58:39 +01:00
Oleg Isonen 8748d93eb6 add tests for parsing css value input 2022-04-14 11:40:26 +01:00
Oleg Isonen 49187a07c4 style panel: set values on enter, calculate math expressions in inputs 2022-04-14 00:38:42 +01:00
Oleg Isonen 3f18ce6bc0 move contributing guide 2022-04-13 12:14:56 +01:00
Oleg Isonen 9cf837020f add selectedInstance to deps 2022-04-12 11:44:37 +01:00
Oleg Isonen ea51fb6f58 don't pass transparent as initial value to the color picker
Color picker will use 0 as alpha value, which will force user to set alpha every time they have to change from transparent
2022-04-12 11:43:01 +01:00
Oleg Isonen 4e02190f59 ensure both selected element and selected instance are the same id when selecting 2022-04-12 11:00:27 +01:00
Oleg Isonen 51574ce925 enable ba co to match background color 2022-04-12 00:50:29 +01:00
Oleg Isonen 4af3509271 support instance without props 2022-04-11 23:51:55 +01:00