Commit Graph

31 Commits

Author SHA1 Message Date
Andrew Kingston 9d473e9a34 Lint 2021-11-04 11:31:43 +00:00
Andrew Kingston 808d2d0f73 Add generic block structure with support for writing blocks like normal svelte components rather than a JSON builder 2021-11-02 08:45:27 +00:00
Andrew Kingston 7663bdb534 Revert preservation of base component styles by styleable helper to fix stale styles being applied after removal 2021-09-20 16:47:53 +01:00
Andrew Kingston 9634b021a5 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston 8defbd1ed2 Remove old and no longer needed component-id data tag applied by styleable helper 2021-09-20 12:20:34 +01:00
Andrew Kingston a05dc7e295 Add above/below dnd and support for dropping above/below components which also allow dropping inside 2021-09-16 14:28:44 +01:00
Andrew Kingston b0f6bd9e76 Prevent dragging the screen or layout components, and prevent dragging any layout components when previewing a screen 2021-09-16 07:52:49 +01:00
Andrew Kingston 4be4dd014d Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Andrew Kingston 9e5805f092 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston a84d1d2ec8 Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +01:00
Andrew Kingston 9c954609fd Add border style as an explicit option to prevent issues with dynamically adding it via the styleable helper 2021-07-01 00:40:16 +01:00
Andrew Kingston f467f9809c Fix border not being applied due to missing border-style rule 2021-06-28 10:15:14 +01:00
Andrew Kingston af2097e3eb Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +01:00
Andrew Kingston 440e80e890 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston 7d87befe13 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +01:00
Andrew Kingston 634dc38768 Improve component empty states and fix selection indicator lockup bug. Fix data provider not exporting loaded context 2021-06-11 08:45:58 +01:00
Andrew Kingston 3b085d9ac3 Add placeholders and empty states automatically as required to any empty client components 2021-06-11 08:05:49 +01:00
Andrew Kingston ba1908f7f9 Render builder preview selection indicators via top level component instead of via styleable healper. Add indiciator on hover and add name to indicator 2021-06-08 14:19:03 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 2d62c6a413 Add wrapper component to data provider so that it can be styled 2021-04-29 09:41:49 +01:00
Andrew Kingston bfebf0226a Update builder preview to be interactive and improve builder preview experience 2021-01-27 15:52:12 +00:00
Andrew Kingston a79f731c09 Add common SpectrumField component, add spectrum labels, add form label position customisation 2021-01-27 10:59:05 +00:00
Andrew Kingston 2bc6a70401 Add automatic schema validation to forms and add builder settings for specific field types 2021-01-26 14:40:44 +00:00
Andrew Kingston 7abd9b4f4a Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Andrew Kingston 62fecd3a3c Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston 36ef89827a Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Andrew Kingston 859ae5f8a4 Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Andrew Kingston ca9a3d2f3e Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston 853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston a18a861177 Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00