Commit Graph

39 Commits

Author SHA1 Message Date
Francisco Vallarino
ff2ea3b414
Fix type error in examples (#263)
* Fix type error in examples

* Attempt to run build including examples

* Force build failure

* Revert "Force build failure"

This reverts commit 9728f0b0ac.
2023-02-26 23:18:45 +01:00
Francisco Vallarino
22cf451853
Add conditional helpers for lists of widgets, styles and configuration options (#185)
* Add widgetIf, widgetMaybe, and related style/config helper functions

* Update examples and tutorial

* Fix Haddocks

* Update Changelog
2022-10-09 22:38:07 +02:00
Francisco Vallarino
51ce06f613
Add Monomer logo and badges to README.md (#186)
* Add new Monomer logo and badges to README.md

* Fix sub-title styling

* Add support for loading any image format to use as application icon

* Update Monomer icon image

* Update examples and tutorials to use new icon image

* Adjust logo background color
2022-06-27 16:25:03 -03:00
Francisco Vallarino
af0456ccf1
Add extra argument to mergeRequired; in most cases, it will be WidgetEnv (#122)
* Add extra argument to mergeRequired; in most cases, it will be WidgetEnv

* Update Changelog
2022-04-17 15:06:55 -03:00
Gareth Smith
9bc252cbe7
Allow setting the window icon via AppConfig (#79) 2022-02-13 14:12:32 -03:00
Francisco Vallarino
afadfbb60a
Add SetFocusOnKey/MoveFocusFromKey to Composite (#37)
* Add SetFocusOnKey/MoveFocusFromKey to Composite. This makes setting focus from user event handlers more predictable

* Bump version. Update Changelog
2021-10-28 16:33:39 -03:00
Francisco Vallarino
4d1031b16b Add Haddock header to examples 2021-09-24 15:23:32 -03:00
Francisco Vallarino
88e12a8d9b
Reduce memory usage by sharing wreq session among image widget instances (#22)
* Reduce memory usage by sharing wreq session among image widget instances

* Update Books example to use Session instance

* Update Changelog
2021-08-31 18:47:45 -03:00
Jan Hrcek
66e9a70479
Add setup instructions for Fedora (#3) 2021-08-11 11:01:18 -03:00
Francisco Vallarino
38bb502596 Remove development helpers/notes 2021-08-09 00:10:32 -03:00
Francisco Vallarino
2b06503863 Improve examples README 2021-08-07 00:55:12 -03:00
Francisco Vallarino
83bbc9208a Describe examples 2021-08-04 18:33:02 -03:00
Francisco Vallarino
b4d92f279f Add node prefix to key, enabled, visible and focusable 2021-07-31 13:42:42 -03:00
Francisco Vallarino
da1a9ba726 Rename multiLine to multiline 2021-07-31 13:12:52 -03:00
Francisco Vallarino
44109ca217 Add style prefix to the six style combinators (avoid reserving some common names) 2021-07-31 12:48:22 -03:00
Francisco Vallarino
afe4708774 Report theme has changed from themeSwitch, use it to force merge 2021-07-25 11:52:06 -03:00
Francisco Vallarino
973b92f659 Add mergeRequired support to box 2021-07-24 22:43:18 -03:00
Francisco Vallarino
efa89f0ed3 Refactor/reformat examples code 2021-07-24 13:47:57 -03:00
Francisco Vallarino
00d77747cc Partial improvements to examples 2021-07-22 20:25:22 -03:00
Francisco Vallarino
230922c40c Add alignment options to image 2021-07-02 23:56:33 -03:00
Francisco Vallarino
07dd4bbd1d Minor styling changes in examples 2021-07-01 17:12:37 -03:00
Francisco Vallarino
cb136dce13 Update styles for books example 2021-06-29 19:48:18 -03:00
Francisco Vallarino
8281f168e4 Do not set focus to empty path 2021-06-26 20:48:34 -03:00
Francisco Vallarino
1bfe861c5c Create UserUtil module, put setFocus and similar in it 2021-06-14 18:12:10 -03:00
Francisco Vallarino
7e73f99927 Rename globalKeyWidgetId/globalKeyPath to widgetIdFromKey/pathFromKey 2021-06-14 16:53:08 -03:00
Francisco Vallarino
0b2d8d486e Rename simpleApp to startApp 2021-06-14 16:16:46 -03:00
Francisco Vallarino
daecf64429 Add documentation to Widgets/Singles module. Remove some unused definitions. 2021-06-02 00:16:05 -03:00
Francisco Vallarino
424c8a7dcb Rename widgetFindByPath to widgetFindBranchByPath and return full branch of node info instead of only target. Fix nested scroll focus follow issue 2021-05-15 19:30:52 -03:00
Francisco Vallarino
14753e9f0f Remove widgetRestore, related types and logic. Remove CBOR and Serialise dependencies 2021-04-24 15:09:47 -03:00
Francisco Vallarino
0654a5e50b Handle drag and drop to reorder items in ticker example 2021-03-13 22:17:03 -03:00
Francisco Vallarino
e8285d4ca2 Add support for scroll position reset 2021-03-03 14:12:50 -03:00
Francisco Vallarino
6e4cad7218 Update examples to use widgetId instead of path 2021-03-02 14:43:30 -03:00
Francisco Vallarino
2781116d48 Fix issue on stack when flex was zero. Make label use flex instead of expand. Update test cases and examples 2021-02-28 20:36:54 -03:00
Francisco Vallarino
e27cbc7d21 Improve label multi line support. Fixed width is no longer needed for it to work 2021-02-23 13:22:17 -03:00
Francisco Vallarino
1be5016f3c Change resize factor default for label 2021-02-22 16:37:26 -03:00
Francisco Vallarino
bc822df5c3 Have both alert and confirm receive a widget as its content. Add alertMsg and confirmMsg to handle text 2021-02-18 10:51:13 -03:00
Francisco Vallarino
934de15302 Re import color table keeping the chromatic order from the source 2021-02-16 18:38:13 -03:00
Francisco Vallarino
a94eeadd41 Improve books example 2021-02-12 00:26:41 -03:00
Francisco Vallarino
76c125f598 Add books example, loading information from a REST API 2021-02-11 20:45:24 -03:00