-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Formless to be Halogen 5 compatible (#46)
* initial commit for v5 -- library compiling * tweaks * rework to support queries and actions * update app helpers to latest Select * update most examples (todo: nested-array, real-world) * update nested array example * switch queries to allow access to public actions * examples building -- missing querying only * complete real world example * clean up real world example * update readme * tweak readme * fix demo examples * add warning to readme about versions * allow users to provide to generate initial form values * tweak readme * switch to Maybe for initial inputs fields * move internal functions from component to Internal module and add message to Slot' type * add raiseResult function to reduce boilerplate; adjust Slot' type to accept a message * update Slot' type * fix type signature of raiseResult * Remove extra whitespace * Change type parameter name: 'ps' (Halogen 4) to 'slots' (Halogen 5) * Expose Halogen's input type * Update examples to account for Halogen's `input` type * Renamed modules: 'Component' to 'Page' and 'FormSpec' to 'Form' * Remove unneeded `defaultEval`: already creating the full record * Rename Formless' `Message` type to `Event` * Update examples to use new `Event` type * Import & whitespace fixes for PureScript 0.13 (#51) * Fix mixed indentation * Update Row and RowList imports * Make examples compile again. (#54) * Add Formless component template file (#53) * Added Formless component template * Further cleanup template * Fix indentation for template * Fix typo in template example * Template file: convert MonadType to m with MonadAff constraint * Template file: document handleEvent function * Temlate file: document mkInput * Template file: more clearly document getInput and setValidate functions * Use comments to further document template file
- Loading branch information
1 parent
55e2453
commit d7151f8
Showing
49 changed files
with
2,985 additions
and
3,019 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ dist/* | |
!dist/cn-tailwind.min.css | ||
!dist/storybook.css | ||
*.lock | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ nixpkgs ? import <nixpkgs> {} }: | ||
|
||
nixpkgs.stdenv.mkDerivation { | ||
name = "env"; | ||
buildInputs = [ | ||
nixpkgs.nodejs | ||
nixpkgs.yarn | ||
nixpkgs.stack | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.