Commit Graph

107 Commits

Author SHA1 Message Date
Martin McKeaveney 77b8f8fa8e show screenslot if there's no screens 2020-04-06 17:06:04 +01:00
Martin McKeaveney 300ec549a2 publish 2020-04-06 09:30:58 +01:00
Martin McKeaveney b1f4f90927 v0.0.32 2020-04-06 09:26:13 +01:00
Michael Shanks 88ecb0d569 v0.0.31 2020-04-02 19:27:54 +01:00
Michael Shanks 1e2b009555 v0.0.30 2020-04-02 19:16:21 +01:00
Michael Shanks 0648ec7dff v0.0.29 2020-03-31 16:33:40 +01:00
Michael Shanks 80fec01c8f v0.0.28 2020-03-31 14:44:04 +01:00
Martin McKeaveney ec0d8bd142 formatting 2020-03-27 16:58:32 +00:00
Martin McKeaveney db6135e801 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
Michael Shanks 44a989d7bc lerna updated gitHead for me for some reason 2020-03-05 14:54:22 +00:00
Michael Shanks 72a77a035e v0.0.27 2020-03-05 08:53:44 +00:00
Michael Shanks 3e57732380 v0.0.26 2020-03-05 08:48:04 +00:00
Michael Shanks fcd2e6253c v0.0.25 2020-03-05 08:37:51 +00:00
Michael Shanks 2bec1d06ad v0.0.24 2020-02-27 23:42:35 +00:00
Michael Shanks b6f175161d v0.0.23 2020-02-27 22:08:29 +00:00
Michael Shanks b7a5bab47c _bb client api, relative url checks for root path,+ handles absolutes 2020-02-27 21:14:41 +00:00
Michael Shanks 1dc19d24a5 v0.0.22 2020-02-27 11:59:35 +00:00
Michael Shanks 7830a71ba3 v0.0.21 2020-02-26 22:47:09 +00:00
Michael Shanks 8e60e8f635 v0.0.20 2020-02-26 22:32:19 +00:00
Michael Shanks 6d55922a63 v0.0.19 2020-02-26 22:26:19 +00:00
Michael Shanks 5ce66c2481 v0.0.18 2020-02-26 22:18:45 +00:00
Michael Shanks fc5413abb3 prep for NPM publish 2020-02-26 22:18:14 +00:00
Michael Shanks f3dd412e74 v0.0.17 2020-02-26 21:12:13 +00:00
Michael Shanks 5763d264b8 dont try to attachChildren if theres not htmlElement supplied 2020-02-26 15:57:48 +00:00
Michael Shanks 8ab04fa944 bugfix: route params not populated correctly 2020-02-25 22:27:02 +00:00
Martin McKeaveney bcb66e7759 all eslint errors fixed 2020-02-25 16:23:45 +00:00
Martin McKeaveney 3d7ba759fa fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks f0dbfa15bf added _bb.get/setContext to clientApi - for MD components 2020-02-24 16:41:03 +00:00
Michael Shanks dce21f7fbe bugfix: await event handlers 2020-02-24 16:04:13 +00:00
Michael Shanks 6233c01f4f router not properly matching parameterized route 2020-02-24 14:57:34 +00:00
Michael Shanks cbd33daae8 random bug - client setState 2020-02-24 14:57:05 +00:00
Michael Shanks fe57000acd bugfix - client - approotPath not passed correctly 2020-02-24 11:15:08 +00:00
Michael Shanks e09a79fc87 test fixes - store renamed state 2020-02-23 22:18:23 +00:00
Michael Shanks fd810c9910 prettier - auto 2020-02-23 22:18:05 +00:00
Michael Shanks 1a1a9e81e0
Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks ca63862604 publishDev scripts create dirs, so we dont get annoying errors 2020-02-22 22:24:19 +00:00
Michael Shanks d0f3eeca1b pass in routeParams to uiFunctions 2020-02-21 23:01:41 +00:00
Martin McKeaveney a41d25f83e remove unnecessary file 2020-02-21 18:07:08 +00:00
Martin McKeaveney 395dcd1cc2 finished state management ui for v2 2020-02-21 18:02:02 +00:00
Michael Shanks d271ed6a50 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Martin McKeaveney 412aa6739f state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks 56f00f4e1d fix rooting to be able to handle appRootPath 2020-02-21 15:20:00 +00:00
Michael Shanks 4b807d8f09 bindings can now be just a string (store.someValue) 2020-02-21 14:44:48 +00:00
Michael Shanks 83953922d7
Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn f42cfd9fa2 Ensure fallback is alway selected when no route matches. 2020-02-18 16:38:35 +00:00
pngwn 063cb0f41f Add screenslot to current preview. 2020-02-18 15:53:22 +00:00
Michael Shanks 901db64450 router swallows excpetions on pushState
(not supported in iframes, used by builder)
2020-02-18 13:10:57 +00:00
Michael Shanks 4089b52c53
Client Api - New state binding method (#105)
* new binding...
- state manager
- one store per screen
- not passing

* client lib binding - tests passing

* binding fully working again post stateManager

* bugfix with button component

* Control flow ("code") now working, tests passing

* Events List now reading from component definition

* fix to button.svelte - missing props._children
2020-02-18 12:29:38 +00:00
Michael Shanks b7d9e05641
Work on Components API & bugfixes (#102)
* typo - screens not being sent to page save

* removed children arg from hydrateChildren (n/a)

* initialiseChildren does not rerender unless forced

* removed derivatives of initialiseChildren

* renamed initialiseChildren > attachChildren

* standard-components - refactoring

div now container
H1, h2... etc now Heading with type
Select now takes option as _children

* loads of bug fixing

* safe props creation
anytime props are loaded,
we make sure they conform to the components props definition
2020-02-14 11:51:45 +00:00