This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Commit 41ef8db
authored
Initial version (#1)
* it compiles
* extract State Query Message in Time picker
* it works, sort of
* preserve order of components from format
* fix html
* refactor Time
* use Validation instead of Either in Constraint
* 'Constraint f a' to 'Constraint a'
* fix typos in error messages
* add date picker
* update example
* fix enum generation
* use one numberElement
* use one choiseElement
* use date with year set to 0 for initial value
* add enumNumberElement
* move textElement
* add some enum types
* remove unused imports
* move constraint module
* small refactor
* fix placeholder issue
* Add DateTime picker and refactor Example
* add duration component; refactor elements
* fix notify staff
(actually it was not an issue at all)
* remove some commets
* fix format filename
* add Interval
* add separator to interval
* pass initial value as arg
* add error to interval setValue
* update number element api
* fix spacing
* update ps-validation and ps-transformers
* add validation in duration picker
* refactor duration validation
* refactor duration validation v2
* fix number input validation
* add build task
* fix mustBeMounted
* fix numberInput invalidity
* cosmetics
* remove duration argument from duration picker
* make numberComponent a Number.picker
* refactor number picker
* fix invalid style
* cosmetic changes
* rename Number.picker to Num.picker
* apply calidation changes to Time
* add Choice.picker
* use Choice.picker in Time.picker
* replace KleisliEndo with Join Star; refactor
* use new version of ps-enums
* cosmetics
* add validation to Date.picker
* add validation to DateTime picker
* add validation to interval
* fix error propagation
> if when duration is Nothing user uses fractional value incorectly
it will be parsed as valid number and input will not fail
but there combination gives invalid duration and it will stay as nothing
resulting in having valid values in input but indication of invlaidity
we need to change state to invalid if we have value for all commands
* value sin number input must "comute"
* change Meridiem to Int in Time
* refactor; fix warnings
* use Array in Format instead of List; move format modules
* move Internal; extract Utils
* remove Utils.toAlt
* move examples to it's own folder
* update bower.json, add README and travis.yml
* remove notes file
* use when/unless
* refactor Constraint Errors
* max 2 empty lines
* fix foralls
* fix double colons
* replace Datapicker with Datepicker
* add space after ∀
* sort imports
* fix some case formating
* `when (x /= y)` to `unless (x == y)`
* fix arrow
* use more case of
* int to index type in example
* remove `$` before `case`
* use asRight
* use join in buildDuration
* add asLeft
* use do in interval eval
* remove format from state
* add moveStateTo
* use transitionState in eval
* replace => with ⇒
* replace <- with ←
* make lines shorter; some cosmetic changes
* cosmetic refactoring
* utf fix
* fix replace errors
* refactor build functions
* remove perens
* remove comments
* fix forall
* remove comments
* refactor
- don't use unsafePartialBecause, but use halt
- add common request/actions to .Types
* reorder component types in more consistnat way
order:
- State
- Message
- Query
- ChildSlot&Slot
- ChildPath
- HTML&DSL
* update ps-datetime
* add placeholders
* refactor html query maping
* update purescript-datetime version
* update ps-foramtters
* add length classes to input
* add configuration for altering styles
* cleen up type signature of Elements.*
* add choiceEmptyTitle
* add Newtype instance for Config1 parent 4894a2a commit 41ef8db
File tree
26 files changed
+3042
-36
lines changed- example
- src
- src/Halogen/DatePicker
- Component
- Format
- Internal
26 files changed
+3042
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments