c5b397497a
Remove SProxy reference
2025-06-09 00:12:52 +02:00
Thomas Honeyman
27befa13f2
Update for Halogen 6
2021-03-31 18:40:06 -07:00
milesfrain
256d09dfed
Fix dropdown and typeahead tutorial links in examples page ( #52 )
2020-01-31 13:16:59 -08:00
Dave Zuch
8a3509f233
Merge pull request #51 from citizennet/davezuch-ci-image
...
Update Circle CI site image
2020-01-28 14:25:27 -08:00
Dave Zuch
6149f687ea
Update Circle CI site image
...
Looks like the image we were using is no longer supported. Changing to rely on latest image instead. This may not be the best approach either, because new images might not support our needs, but pointing to a specific tag is more sure to break down the road than pointing to the latest one. Unless we want to point to a tag we control, which, may not be the worst idea.
2020-01-28 14:24:57 -08:00
Dave Zuch
09bfeba73f
Merge pull request #49 from JordanMartinez/addHelperTypes
...
Add helper types and template file
2020-01-28 13:05:48 -08:00
Sören Kress
f0a1ce0b45
Switch to using KeyboardEvent.key instead of KeyboardEvent.code as KeyboardEvent.code always returns 'undefined' in MS Edge and IE 11. Also handle 'Up', 'Down', 'Esc' in addition to 'ArrowUp', 'ArrowDown', 'Escape' as IE 11 returns these values as the pressed keys. ( #50 )
2020-01-17 08:34:09 -08:00
Jordan Martinez
d8d37408f3
Add Select template
2019-11-27 17:39:55 -08:00
Jordan Martinez
2b9e85bbd5
Add convenient Halogen type aliases that hide Select types
2019-11-27 17:21:39 -08:00
Dave Zuch
467b35fa5d
Merge pull request #45 from JordanMartinez/exposeInput
...
Expose `input` type in Select components and combine `spec` and `input` into `Select.component`
2019-05-29 21:59:06 -07:00
Jordan Martinez
e6fcd98d7e
Update examples to use new Event
type
2019-05-26 11:08:47 -07:00
Jordan Martinez
1e7111902d
Rename Select's Message
type to Event
/handleEvent
2019-05-26 11:07:22 -07:00
Jordan Martinez
8207250c58
Remove unneeded defaultEval
: complete record is already being created
2019-05-26 11:06:11 -07:00
Jordan Martinez
47ca7ca97b
Rename selectState
back to `initialState
2019-05-21 17:49:06 -07:00
Jordan Martinez
44575babdb
Convert Maybe (Action action)
to Maybe action
...
- affects `receive`, `initialize`, and `finalize functions in
`Select.Spec`
2019-05-21 17:47:37 -07:00
Jordan Martinez
378a465154
Use full type names: action
and slots
...
- `msg` was left as is because it's clearer than Halogen 5's name for
this: `output`.
2019-05-21 17:42:55 -07:00
Jordan Martinez
406b38f438
Indent long type signature under function name
2019-05-20 17:42:39 -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
Jordan Martinez
45a27794f2
Swap argument order
2019-05-18 20:17:01 -07:00
Jordan Martinez
5ccac2fad1
Expose input
type in select component
2019-05-18 20:07:09 -07:00
Jordan Martinez
f3dcc65b44
Get rid of extra whitespace in file
2019-05-18 20:01:39 -07:00
Thomas Honeyman
21d63d1239
Patch: remove unnecessary argument from setToggleProps
2019-04-15 19:45:43 -07:00
Thomas Honeyman
178a968e2a
Update bower.json to Halogen rc.4
2019-04-15 19:27:49 -07:00
Thomas Honeyman
9dacac780c
Update for Halogen 5 ( #39 )
...
* 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
Dave Zuch
c646a5502a
Merge pull request #37 from citizennet/setters-order
...
Fixed ordering of setters so that user event handlers override defaults
2019-01-03 13:03:22 -08:00
David Zuch
879787f85e
Fixed ordering of setters so that user event handlers override defaults
2019-01-03 12:10:19 -08:00
Dave Zuch
dc7f100873
Merge pull request #35 from thomashoneyman/ref
...
Add debouncing via `Ref`
2018-12-10 17:24:31 -08:00
Thomas R. Honeyman
8434337356
add debouncing in ref
2018-11-29 13:26:03 -08:00
Chris Cornwell
ffcb748de0
update version of renderless
2018-11-08 17:32:32 -08:00
Chris Cornwell
f5d1a7c4cd
Merge pull request #33 from citizennet/input-ref
...
Input/Toggle Reference
2018-11-08 20:13:14 -05:00
Chris Cornwell
5c82932a77
clean up unnecessary do blocks
2018-11-08 15:13:01 -08:00
Chris Cornwell
fb225e817b
remove some unnecessary state fetching
2018-11-08 15:08:18 -08: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
c3325250a3
use hard coded ref label everywhere, take it out of state and don't pass state to setProps
2018-11-08 14:29:12 -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
065a87f21c
clean up some imports, use a more descriptive ref label
2018-11-08 13:05:48 -08:00
Chris Cornwell
ba252de0e3
remove unnecessary initializer
2018-11-07 15:42:28 -08:00
Chris Cornwell
f284d8c4db
fix formatting issue
2018-11-07 14:12:25 -08:00
Chris Cornwell
191859bfc9
don't capture ref, set it on initialize and use it in setProps
2018-11-07 14:05:56 -08:00
Chris Cornwell
7e21954abf
Merge pull request #31 from alexeyzab/fix-typo
...
Fix a typo
2018-10-31 18:53:50 -07:00
Chris Cornwell
628efa7445
Merge pull request #32 from alexeyzab/add-missing-example-to-docs
...
Add missing tutorial code
2018-10-31 18:53:34 -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