1
Fork 0
Commit graph

34 commits

Author SHA1 Message Date
Thomas Honeyman
27befa13f2 Update for Halogen 6 2021-03-31 18:40:06 -07:00
Jordan Martinez
e6fcd98d7e Update examples to use new Event type 2019-05-26 11:08:47 -07:00
Jordan Martinez
9a86b1295f Use same indent level for 'where' clause and code 2019-05-20 17:40:36 -07:00
Jordan Martinez
1c21d4ceba Remove unneeded imports 2019-05-18 20:50:16 -07:00
Jordan Martinez
e921264043 Add missing slot type 2019-05-18 20:50:08 -07:00
Jordan Martinez
aac003ecc0 Cleanup examples by putting input and specs in a where clause 2019-05-18 20:42:08 -07:00
Jordan Martinez
16c05303d1 Update examples 2019-05-18 20:36:45 -07:00
Jordan Martinez
f94de112b5 Remove extra whitespace in examples files 2019-05-18 20:31:32 -07:00
Thomas Honeyman
21d63d1239 Patch: remove unnecessary argument from setToggleProps 2019-04-15 19:45:43 -07:00
Thomas Honeyman
9dacac780c
Update for Halogen 5 ()
* Remove QueryF from Select in preparation for v5 changes, as there is no longer the ability to leverage a query within ComponentHTML. Add the npm-check-updates package to dev dependencies.

* switch to variants

* Complete switch to Halogen 5

* switch examples to v5

* switch to extensible state, no comonad

* now that state can be embedded, take as an argument

* cleanup

* switch to handling messages, which addresses lingering concerns with extensibility in the components

* uncomment

* cleanup

* add default.nix file containing mkdocs

* update dependencies

* fix infinite recursion (compiler bug?)

* eta-expand instead of removing helper

* remove unused css

* Add type synonyms for simple cases

* rename RunQuery to AsAction

* allow external initialization, merge state fields

* simplify examples

* Simplify a little more

* formatting

* add finalizer to default spec

* extensible actions

* update item counts on attempted highlight

* cleanup

* polish up CSS for examples to test behavior

* switch to void
2019-04-15 19:18:42 -07:00
Thomas R. Honeyman
e7b780a47b Restructure to rely on halogen-renderless 2018-07-05 13:05:21 -07:00
Thomas Honeyman
b7b44bb161
Update Select for PureScript 0.12 and Halogen 4.0.0 ()
* Bump version bounds.

* WIP transition to Halogen 4.0.0

* Migrated core lib to 4.0.0

* Update examples to .12 / 4.0.0

* Remove unsafeForeign*

* Bust cache in CI

* Remove redundant import.
2018-06-07 13:19:44 -06:00
Thomas Honeyman
0721d52d04
Add a new documentation site to the repository ()
* Update config

* Update readme.

* Update readme.md

* Add getting started section to tutorials.

* Added getting-started with updates.

* Major update to getting started guide

* Overhaul to tutorials.
2018-05-23 19:41:37 -07:00
Thomas Honeyman
a206346d10
Add Github Pages site for documentation ()
* Added github pages site for documentation
2018-02-15 14:13:24 -08:00
Thomas Honeyman
05606f2080
Remove Effects synonyms and update docs ()
* Removed Effects altogether, encouraging manual input instead.

* Minor docs update and remove type synonym for search effects.
2018-02-06 14:04:04 -08:00
Thomas Honeyman
38a161538f
Replace usage of row effects in Search primitive & update docs ()
* Migrated to MonadAff
* Update to new use of Effects type, including updated documentation.
* Updated Typeahead example to use a parent with custom effects.
* Another update showing new effects at each level in the hierarchy.
2018-02-02 19:10:36 -08:00
Thomas Honeyman
9f1ed53fa3
Add ReplaceItems to Container ()
* Update ReplaceItems.
2018-01-29 18:30:11 -08:00
Thomas Honeyman
d778e9122e
Replace Dispatch with Coproduct ()
* Replaced Dispatch with Coproduct implementation.
2018-01-23 18:01:26 -08:00
Thomas Honeyman
e19e654e4a
Replace component individual states with Store comonad & add calendar example ()
* Replaced single-character query names with full versions.

* Added scaffold for calendar example.

* Added new emit helper.

* Removed item type altogether -- now, you provide the item type and handling for it. Added calendar (WIP: The getToggleProps expects to be embedded in the container, but this is not how it is used for the calendar).

* Updated container primitive to use the receiver for changed input after mount.

* Completed implementation of Store type for container primitive (thanks to Nicholas Scheel for advice).

* Completed implementation of Store.

* Update to use seeks instead of manual impl.

* Update to calendar to use the current time, not a fixed time.

* Modification to add getState helper and centralize the new Store state.

* Fixed warnings for core files, except for missing type signatures in Dispatch.

* Fixed all compiler warnings for examples

* add type signatures to props helper functions -- this covers all warnings
2018-01-11 18:40:04 -08:00
Thomas R. Honeyman
d44d4e7ebf Added ability to insert in typeahead example. 2018-01-02 13:45:11 -08:00
Thomas Honeyman
623b4a95ec
New architecture: the Dispatch type ()
* Added new Search primitive. Added example for Typeahead component. Renamed examples to Dropdown and Typeahead to reflect their actual purpose.

* Quality of life improvements to building multiple example folders.

* Completed minimal typeahead example.

* Updates to run-examples build script.

* Completed Dropdown example with minimial changes.

* Added debounce functionality to the typeahead.
2017-12-20 17:16:17 -08:00
Thomas R. Honeyman
09b7014df5 Update to examples readme describing testing setup. 2017-12-18 20:56:12 -08:00
Thomas R. Honeyman
770217b175 Update to example readmes. 2017-12-18 20:17:13 -08:00
Thomas Honeyman
9c272510be
Update master branch to use new primitives approach ()
* Renamed dropdown to container. Added typeahead component. Shifted queries around.

* Added types for visibility states. Protected against selection, highlighting, and key events when the state is not open.

* Added design doc.

* Add blur event to menu, incl. support for the user to embed things into the container that could steal focus from the main toggle button. Updated demo container file to use the new code.

* Add continuous integration (). Added a PureScript dockerfile to .circleci/images for continuous integration. Added a circle CI config and produced a successful build.
2017-12-18 18:35:54 -08:00
Thomas R. Honeyman
51e82845b8 Completed key events on menu. 2017-12-14 15:30:16 -08:00
Thomas R. Honeyman
7d560082fd Modification to experiment with keyboard handler. 2017-12-14 13:34:22 -08:00
Thomas R. Honeyman
679827caaf Represent highlight transitions in types. 2017-12-14 13:03:51 -08:00
Thomas R. Honeyman
8dba88f97c Refactor to move render function entirely out of the component. 2017-12-13 18:11:44 -08:00
Thomas R. Honeyman
d45784a5d0 Update to container styles in preparation for new behaviors. 2017-12-13 11:20:03 -08:00
Thomas R. Honeyman
14d0deaa27 Updated item renderer to expect a function to render all items in the container, not just one item. 2017-12-12 22:52:07 -08:00
Thomas R. Honeyman
b5f35bf262 Minor cosmetic updates to basic dropdown example. 2017-12-12 19:33:51 -08:00
Thomas R. Honeyman
462502fd96 Working minimal dropdown example. 2017-12-12 19:12:01 -08:00
Thomas R. Honeyman
4d4e57f569 Update to bower.json names. 2017-12-12 16:45:31 -08:00
Thomas R. Honeyman
8020ef71c1 Initial commit. 2017-12-12 16:42:31 -08:00