Andrew Kingston
f2b12bcf45
Component error state improvements ( #10136 )
...
* Tidy logic for creating initial component instances
* Add initial implementation of enriching empty settings
* Fix regression that prevented custom placeholders from working (#9994 )
* Tidy up
* Add automatic naming of form fields when added
* Update missing required setting placeholder
* Improve error states and add ability to automatically wrap a component in a required parent type
* Fix crash in column editor and rename component placeholder to error state
* Select the parent component after adding it when wrapping a component with a missing ancestor
* Fix blocks and make fields require forms
* Improve empty component placeholder
* Lint
2023-03-28 21:11:33 +01:00
Andrew Kingston
058547fd67
Add initial version of side panel component
2022-10-27 08:08:35 +01:00
Andrew Kingston
0e83bcfe9e
Update styles of padded DND components
2022-10-14 20:30:58 +01:00
Andrew Kingston
2adbaea026
Merge develop into editable text lab day
2021-11-16 11:14:46 +00:00
Andrew Kingston
d5983d5603
Lint
2021-11-04 11:31:43 +00:00
Andrew Kingston
e6ffccaff7
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
c48a56b997
Fix issue editing components in the preview when nested inside another draggable component
2021-10-28 15:52:07 +01:00
Andrew Kingston
b522726afc
Allow in-preview editing of paragraphs and headings
2021-10-28 12:43:31 +01:00
Andrew Kingston
393e95d795
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
488ec4d988
Refactor client app data tags to be classnames and simplify logic
2021-09-20 15:34:51 +01:00
Andrew Kingston
07e0cbb210
Remove old and no longer needed component-id data tag applied by styleable helper
2021-09-20 12:20:34 +01:00
Andrew Kingston
bdc86e4c22
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
97800563c4
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
0ce0f5c823
Add initial DND implementation with working functionality for dropping inside components
2021-09-16 07:28:59 +01:00
Andrew Kingston
047cd4ea88
Merge standard-components into the client library
2021-09-01 11:41:48 +01:00
Andrew Kingston
698e31acbc
Update remaining static color variables to spectrum instead
2021-07-05 14:02:49 +01:00
Andrew Kingston
1d2b306574
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
829c2bb8ee
Fix border not being applied due to missing border-style rule
2021-06-28 10:15:14 +01:00
Andrew Kingston
26136f5114
Hide overflow when showing empty component placeholders
2021-06-24 12:13:55 +01:00
Andrew Kingston
4a3c480b26
Prevent hovering over layout components when editing screens
2021-06-11 13:34:37 +01:00
Andrew Kingston
ca88e2abe1
Allow user styles to override placeholder styles
2021-06-11 09:14:22 +01:00
Andrew Kingston
7e8e482f8f
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
79993bafda
Add placeholders and empty states automatically as required to any empty client components
2021-06-11 08:05:49 +01:00
Andrew Kingston
65e7453fbf
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
797e8a8b67
Add explicit prettier options
2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti
0afbf1649e
lint:fix
2021-05-03 09:31:09 +02:00
Andrew Kingston
379df050cf
Add wrapper component to data provider so that it can be styled
2021-04-29 09:41:49 +01:00
Andrew Kingston
6631fe2af8
Update builder preview to be interactive and improve builder preview experience
2021-01-27 15:52:12 +00:00
Andrew Kingston
12f3b7f6fa
Add common SpectrumField component, add spectrum labels, add form label position customisation
2021-01-27 10:59:05 +00:00
Andrew Kingston
365c503224
Add automatic schema validation to forms and add builder settings for specific field types
2021-01-26 14:40:44 +00:00
Andrew Kingston
fcad9892e0
Swap back to border for selected component highlighting from box-shadow
2021-01-06 16:03:45 +00:00
Andrew Kingston
a40bf95c41
Enable selecting components from the builder preview and apply any custom styles
2021-01-06 10:13:30 +00:00
Andrew Kingston
1a1aa5963d
Add ability to enter custom component CSS
2021-01-04 18:39:17 +00:00
Andrew Kingston
ce2bff5bab
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
00ef8dda44
Fix lint
2020-12-01 16:10:04 +00:00
Andrew Kingston
18a0f3888b
Add proper hot reloading of app preview when styles change
2020-11-24 09:31:54 +00:00
Andrew Kingston
1a8d781c8c
Refactor entire SDK into client lib and enable svelte context sharing between client and components
2020-11-18 19:18:18 +00:00