Commit Graph

27 Commits

Author SHA1 Message Date
Francisco Vallarino
33b66b939e Move Single, Container and Composite to Widgets package 2020-10-05 16:59:29 -03:00
Francisco Vallarino
3fe72d9b2d Merge StyleCombinators and WidgetCombinators into single Combinators module 2020-10-05 16:45:42 -03:00
Francisco Vallarino
52ac6e9ad5 Merge Common+Widget. Move widgets from Widget.Widgets to Widgets 2020-10-05 15:24:54 -03:00
Francisco Vallarino
e26e463fd0 Make style functions receive a list instead of a single style. It looks clearer from the user side 2020-09-28 20:49:17 -03:00
Francisco Vallarino
a3d2d2e4fa Use widget combinators in Button 2020-09-22 14:05:46 -03:00
Francisco Vallarino
bf99063025 Reorganize drawing code 2020-08-23 00:34:02 -03:00
Francisco Vallarino
d0fe3403dd Make Style contain three different StyleStates 2020-08-14 00:33:34 -03:00
Francisco Vallarino
3d6b7e0361 Add Single type to make _subtyping_ more explicit. Rename CompositeWidget to Composite 2020-08-13 14:12:25 -03:00
Francisco Vallarino
4ab4b4596b Temporal commit; pending major change on style usage 2020-08-12 01:44:20 -03:00
Francisco Vallarino
fe227771d3 Partial changes for StyleState 2020-08-10 21:08:50 -03:00
Francisco Vallarino
8e78a05fe6 Remove Sandbox widget 2020-08-05 14:58:50 -03:00
Francisco Vallarino
d629e87929 Rename instances of app and related to model. Some extra minor renames 2020-07-16 01:28:04 -03:00
Francisco Vallarino
43b53aef96 Standardize widget initialization 2020-07-13 19:38:51 -03:00
Francisco Vallarino
fc728f1ea2 Use Lens package instead of MicroLens. Main reason is needing ALens, but we were already relying on -platform and -ghc so it was not really lightweight 2020-07-08 00:08:35 -03:00
Francisco Vallarino
6dd696b82a Remove unneeded properties 2020-06-29 19:50:05 -03:00
Francisco Vallarino
5ee45e3224 Refactor Style type 2020-06-29 18:43:49 -03:00
Francisco Vallarino
e66181d5e4 Rename EventResult to WidgetResult 2020-06-17 16:15:17 -03:00
Francisco Vallarino
c608235a33 Add support for sending messages to widgets in the same composite 2020-06-16 22:13:10 -03:00
Francisco Vallarino
f6dd2261e3 Implement global keys and improve merge process 2020-06-15 14:00:52 -03:00
Francisco Vallarino
6301dbf16c Minor changes 2020-06-14 18:53:04 -03:00
Francisco Vallarino
05d1a31fdf Add initialization event to CompositeWidget 2020-06-13 23:36:12 -03:00
Francisco Vallarino
377c34bf54 Temp commit for merge changes 2020-06-12 15:41:37 -03:00
Francisco Vallarino
24d89f627d Simplify CompositeWidget signature 2020-06-09 21:49:09 -03:00
Francisco Vallarino
c3f80d8483 Simplify Widget/WidgetInstance type signature 2020-06-09 21:44:39 -03:00
Francisco Vallarino
e8ebafdf99 Add support for raising new events 2020-06-09 12:16:42 -03:00
Francisco Vallarino
8747a7f1fa Add support for message producers 2020-06-09 01:05:58 -03:00
Francisco Vallarino
8c2bc7c7b6 Refactor composite example into separate file 2020-06-05 16:53:11 -03:00