1
Fork 0
Commit graph

47 commits

Author SHA1 Message Date
milesfrain
256d09dfed
Fix dropdown and typeahead tutorial links in examples page () 2020-01-31 13:16:59 -08: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
Chris Cornwell
ac95a6fdb9 fix typo 2018-11-08 14:41:29 -08:00
Chris Cornwell
a7e9ee1d64 update docs to new version, remove reference to CaptureRef query 2018-11-08 14:37:50 -08:00
Chris Cornwell
5ce11f3a36 Revert "update documentation to reflect changes to setProps functions and library version"
This reverts commit 90163ee0b8.
2018-11-08 14:27:32 -08:00
Chris Cornwell
90163ee0b8 update documentation to reflect changes to setProps functions and library version 2018-11-08 13:40:28 -08:00
Chris Cornwell
7e21954abf
Merge pull request from alexeyzab/fix-typo
Fix a typo
2018-10-31 18:53:50 -07:00
Alexey Zabelin
f08b04f1b1
Add missing tutorial code 2018-10-31 21:24:50 -04:00
Alexey Zabelin
8952e964b8
Fix a typo 2018-10-31 20:30:12 -04:00
Justin Woo
b812336a77 update discourse links () 2018-08-27 13:23:56 -07:00
Thomas Honeyman
e664ee2505
Update index.md 2018-08-23 14:18:11 -07:00
Vasiliy Yorkin
2f7fce5a51 Fix typos in typeahead tutorial () 2018-08-14 08:51:56 -07:00
Vasiliy Yorkin
45d0f15031 Fix a couple of typos in docs () 2018-08-13 11:07:29 -07:00
Thomas Honeyman
c6bfeae353
Update docs for 0.12 () 2018-06-07 15:30:50 -06:00
Thomas Honeyman
a70a4b83b0
Update typeahead.md 2018-06-01 16:00:39 -06:00
Thomas Honeyman
e081b3a591
Update dropdown.md
From: https://www.reddit.com/r/purescript/comments/8lv8mk/tutorial_lets_build_a_dropdown_with/dzyoy35
2018-06-01 15:57:04 -06:00
Thomas R. Honeyman
8ebec47f12 Updates to documentation 2018-05-29 14:25:53 -07:00
Chris Cornwell
8dc3d6569e
Update dropdown.md 2018-05-29 12:02:37 -07:00
Thomas R. Honeyman
c29c58d0f8 Merge docs branch into master. 2018-05-24 19:59:55 -07:00
Thomas R. Honeyman
d2355cd073 Major update to documentation 2018-05-24 19:55:42 -07:00
Thomas R. Honeyman
a415d3da07 Add basic typeahead tutorial. 2018-05-24 14:59:40 -07: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 R. Honeyman
1b8173ad9b Overhaul to tutorials. 2018-05-23 19:33:44 -07:00
Thomas R. Honeyman
5ee2b570ca Major update to getting started guide 2018-05-23 16:20:32 -07:00
Thomas R. Honeyman
ab95d249d2 Added getting-started with updates. 2018-05-23 13:42:09 -07:00
Thomas R. Honeyman
8d3dca1d86 Add getting started section to tutorials. 2018-05-23 13:38:06 -07:00
Thomas R. Honeyman
fa764be0b3 Add basic navigation 2018-05-22 21:50:55 -07:00
Thomas R. Honeyman
7fee177012 Add QueryF documentation 2018-05-22 21:40:33 -07:00
Thomas R. Honeyman
c462a4cd60 Add CSS and examples. 2018-05-22 21:29:48 -07:00
Thomas R. Honeyman
0484d22431 Fix links 2018-05-22 18:46:37 -07:00
Thomas R. Honeyman
204bf91953 Add initial documentation. 2018-05-22 18:12:03 -07:00
Thomas R. Honeyman
5a69837550 Remove app.js 2018-05-22 13:13:02 -07:00
Thomas R. Honeyman
37990250a8 Add CSS and mounted components 2018-05-22 13:12:17 -07:00
Thomas R. Honeyman
ac033d7977 First cut at docs. 2018-05-21 17:36:58 -07:00
Nicholas Scheel
ff6acc02f3 Free query ()
* Use a free monad for query, instead of Day convolution

This allows the use of the full power of monads for sequencing actions, so for example, upon clicking the toggle element, one can obtain the current visibility to decide whether to blur or focus the element, in addition to toggling the visibility (see `setToggleProps`)

* One way to build/run the documentation site

Just how I did it, maybe not the recommended way ;)

* Use State Monad for Visibility

Conceptually, I think it's neat. Practically, probably not worth the added complexity ;)

* Move documentation to the individual functions

* Revert "Use State Monad for Visibility"

This partially reverts commit 48c6d1c8016cd61e3b48486fe0919cb26e930692.

* Cleanup/fix highlight

* Example of documenting the new usage style

* BooleanAlgebra Visibility

* Document the patterns for free monad queries in the readme

* Don't blur the typeahead example

And it turns out blurring is best done when handling the Selected message ... as if this was all planned just so ;)

* Possibly cleaner code for two of the eval cases

* Fix documentation typo

* Remove string dependency
2018-05-07 11:39:27 -07:00
Thomas Honeyman
600c8384da
Update setToggleProps to properly trigger focus and toggle on/off on click ()
* Update toggle helper to ensure it toggles visibility on click. Added dropdown example.
2018-03-22 17:09:47 -07:00
Thomas R. Honeyman
1eb78c6f31 Significant update to blur handling. 2018-03-08 13:54:24 -08:00
Thomas Honeyman
149e5b7b3e
Replace Search and Container primitives with Select component ()
* Merge search and container to SearchContainer.

* Added in props helpers and update docs to not rely on Ocelot.

* Completed new unified search implementation.

* Minor cleanup.

* Typo.

* Allow select to trigger from toggles or from inputs.

* Add toggle notes.

* Fix key events and support blur on Escape key.

* Support highlighting during searches.

* Update to remove redundant blur event.
2018-03-05 17:26:49 -08:00
Thomas Honeyman
58c94e1fe0
Search container ()
* Add SearchContainer prim

* Made SearchContainer take a render function ()
2018-03-01 17:17:33 -08:00
Thomas R. Honeyman
204276cda3 Update base URL. 2018-02-23 22:40:51 -08:00
Thomas R. Honeyman
ec915accbc Add more rudimentary docs. 2018-02-23 22:24:28 -08:00
Thomas R. Honeyman
8a13f93bc2 Modify installation. 2018-02-21 16:06:07 -08:00
Thomas R. Honeyman
e052f1f25f Rename. 2018-02-21 15:58:40 -08:00
Thomas R. Honeyman
287afc3a12 Added nav and ability for content pages. 2018-02-21 15:02:24 -08:00
Thomas R. Honeyman
8e7fd6ba26 Minor visual update to docs site. 2018-02-21 13:03:55 -08:00
Thomas Honeyman
e06106a28d
Move documentation to static site generator ()
* Initial static site generation.

* Completed mounting components into generated HTML file.

* Shortcodes added for common blocks like component blocks

* Minor improvements.

* Update to shortcodes and circleci config

* Finished base styles. Still relying on Tachyons for calendar.

* Add minimal Sass CSS mimicking tailwinds for text and syntax highlighting.

* CircleCI update.
2018-02-20 16:47:47 -08:00
Thomas Honeyman
a206346d10
Add Github Pages site for documentation ()
* Added github pages site for documentation
2018-02-15 14:13:24 -08:00