5.1.1 (2024-03-14)
- useDateField: drop manual date instance (c2d6460)
5.1.0 (2024-03-12)
5.0.1 (2024-03-07)
- RequiredAtom: make truly read-only atom instead of PrimitiveAtom (9bb7517)
5.0.0 (2024-03-06)
- listField: listAtom extracted to
@form-atoms/list-atom
which is now a required peer Dependency forlistField()
- listField: The
builder
config property fromlistField
was renamed tofields
. - listField: The
builder
config property no longer acceptsFieldAtom
as return type.FormFields
must be returned.
4.1.0-next.1 (2024-03-06)
4.0.16 (2024-03-06)
- build: omit scenarios from distributable (dd5881c)
- scripts: no postinstall (5c4d914)
- typecheck: merge configs & temporarily disable source errors (0bb1fb4)
4.0.15 (2024-02-19)
- release (e10c8a1)
4.0.14 (2024-02-14)
- field-label: deprecate (c911db5)
4.0.13 (2024-02-14)
- bump deps (462bff8)
4.0.13-next.1 (2024-02-14)
4.0.12 (2024-02-14)
4.0.11 (2024-01-24)
- export form (FormSubmitValues) (9e75f36)
4.0.10 (2024-01-23)
- file-upload: add export (34bb722)
4.0.9 (2024-01-23)
4.0.8 (2024-01-23)
4.0.7 (2024-01-18)
- make fields initializable (#98) (2cd4e76), closes #82 #82 #83 #83 #84 #84 #85 #85 #86 #87 #86 #87 #88 #89 #88 #88 #88 #89 #91 #91 #92 #93 #92 #92 #93 #94 #95 #94 #94 #95 #96 #97 #96 #96 #97
4.0.7-next.10 (2024-01-18)
4.0.7-next.9 (2024-01-18)
4.0.7-next.8 (2024-01-18)
4.0.7-next.7 (2024-01-18)
4.0.7-next.6 (2024-01-18)
4.0.7-next.5 (2024-01-18)
4.0.7-next.4 (2024-01-18)
4.0.7-next.3 (2024-01-18)
4.0.7-next.2 (2024-01-18)
4.0.7-next.1 (2024-01-18)
4.0.6 (2024-01-17)
4.0.5 (2024-01-15)
4.0.4 (2024-01-14)
- revert to FIV instead of hydrate to prevent HTML mismatch (ba3efe9)
4.0.3 (2024-01-14)
4.0.2 (2024-01-14)
4.0.2-next.2 (2024-01-14)
4.0.2-next.1 (2024-01-14)
4.0.1 (2024-01-11)
- listAtom: #68 the validateatom of listatom should listen to the validation of in… (#70) (1679827), closes #69 #67 #71
4.0.0 (2024-01-05)
- the ListField no longer uses path access to form fields, instead it works directly with the new
listField()
- The EmptyMessage render prop has been renamed to simply Empty:
<ListField
field={fields.luckyNumbers}
- EmptyMessage={() => <p>No lucky numbers</p>}
+ Empty={() => <p>No lucky numbers</p>}
>
- fix(ListField): Rename render props for add/remove button
BREAKING CHANGE
the AddItemButton
and RemoveItemButton
props were renamed to AddButton
and RemoveButton
respectively.
-
docs(ListField): fix nested example
-
fix(listAtom): reset nested forms
-
fix(listField): adding new item to list revalidates field with a change event
-
fix(listField): revalidate the field with change event when the item is removed
-
test & callback wrapper
-
fix: nested listAtom in listAtom validation
4.0.0-next.1 (2024-01-05)
- the ListField no longer uses path access to form fields, instead it works directly with the new
listField()
- The EmptyMessage render prop has been renamed to simply Empty:
<ListField
field={fields.luckyNumbers}
- EmptyMessage={() => <p>No lucky numbers</p>}
+ Empty={() => <p>No lucky numbers</p>}
>
- fix(ListField): Rename render props for add/remove button
BREAKING CHANGE
the AddItemButton
and RemoveItemButton
props were renamed to AddButton
and RemoveButton
respectively.
-
docs(ListField): fix nested example
-
fix(listAtom): reset nested forms
-
fix(listField): adding new item to list revalidates field with a change event
-
fix(listField): revalidate the field with change event when the item is removed
-
test & callback wrapper
-
fix: nested listAtom in listAtom validation
3.8.14 (2023-12-21)
- package: entry point (eb0e0fe)
3.8.13 (2023-12-05)
- CheckboxGroup: option type as checkbox, add tests (d0c7a6f)
3.8.12 (2023-12-05)
- test: add coverage action (962eb86)
3.8.11 (2023-12-05)
- read currentTarget from events (3afd6e3)
3.8.10 (2023-12-05)
- useFieldProps: drop the empty argument as its specific to each field type and not generic (1554612)
3.8.9 (2023-12-05)
3.8.8 (2023-12-05)
- missing type (52c2d2a)
- zodField: accept read for dynamic required state in optional method (8524974)
3.8.7 (2023-12-04)
3.8.6 (2023-12-04)
- required-field: share the default required atom (bd92273)
3.8.5 (2023-12-04)
3.8.4 (2023-12-02)
- no ESM (27037e8)
3.8.3 (2023-12-02)
- organize files (304ff31)
3.8.2 (2023-12-01)
- add publish config (3f6895f)
3.8.1 (2023-12-01)
- ListItem: document the count child prop (43297e4)
3.8.0 (2023-11-30)
- digitField (89e979e)
3.7.0 (2023-11-30)
3.6.4 (2023-11-30)
3.6.3 (2023-11-29)
- bump linter and prettier (bd45862)
3.6.2 (2023-11-29)
- release with node lts (d01160e)
3.6.1 (2023-11-28)
- ListField: add count property (3f3a327)
3.6.0 (2023-10-23)
3.5.4 (2023-10-23)
- listField: enable adding new items before existing ones (a888c4d)
3.5.3 (2023-10-23)
- sync split hook with field & test use list field actions (4e6fa06)
3.5.2 (2023-10-20)
- #49: use splitAtom instead of immutable object path (95da83a), closes #49
- listField change update values (79302c4)
3.5.1 (2023-10-20)
3.5.0 (2023-10-16)
3.4.0 (2023-07-12)
3.3.3 (2023-07-03)
3.3.2 (2023-06-14)
- Select: make immune to react-key render bug when shuffling options (6d52da8)
3.3.1 (2023-06-14)
- exclude story components from build (1f1cb10)
3.3.0 (2023-06-07)
3.2.0 (2023-06-02)
- add formStory (c3a3328)
3.1.0 (2023-06-01)
3.0.2 (2023-05-18)
3.0.1 (2023-05-18)
- optional zod field as field atom (3b1ea99)
3.0.0 (2023-05-17)
- optional field via .optional() method
fix: optional checkbox in radio & required
- switch submit value based on required/optional g param
- optional field via .optional() method (de99234)
- switch submit value based on required/optional g param
closes 29
-
fix: revert checkbox field props
-
chore(release): 3.0.0-next.2
3.0.0-next.2 (2023-05-17)
- revert checkbox field props (09a4d80)
3.0.0-next.2 (2023-05-17)
- revert checkbox field props (09a4d80)
3.0.0-next.1 (2023-05-17)
- BREAKING CHANGE: optional field via .optional() method (de99234)
- switch submit value based on required/optional g param
closes 29
2.5.14 (2023-05-17)
- zod opt schema undefined by default instead of never (395207e)
2.5.13 (2023-05-17)
- drop schema atom from field (686a517)
2.5.12 (2023-05-16)
- validation on blur when dirty & change when touched (d550dab)
2.5.11 (2023-04-10)
- newline for errors (33e4108)
2.5.10 (2023-04-08)
- controlled numberFieldProps (487c577)
2.5.9 (2023-04-07)
- debugLabel with atom id instead of unnamed (124886f)
2.5.8 (2023-04-07)
- radio control with checkbox field (20cebc8)
2.5.7 (2023-04-07)
- selectFieldProps reset out-of-bounds values to empty value (9bc978e)
2.5.6 (2023-04-06)
2.5.5 (2023-03-16)
- decouple requirement indicator from the requiredProps hook (b7bcc4d)
2.5.4 (2023-03-16)
- MultiSelect - initialize options value from field (83f1587)
2.5.3 (2023-03-14)
- select initialized for object value (9695c40)
2.5.2 (2023-03-14)
- react warning about select option being selected (004dd89)
2.5.1 (2023-03-14)
- select clears to empty value when form reset (9c1925b)
2.5.0 (2023-03-14)
2.4.2 (2023-03-13)
- placeholder value as -1 (0afa86f)
2.4.1 (2023-03-13)
- bump versions (24814df)
2.5.0-next.1 (2023-03-13)
- checkbox group (c3e1b0f)
2.4.1-next.1 (2023-03-12)
- UseOptionsProps name (128fc26)
2.4.0 (2023-03-05)
- field naming (795abe7)
2.3.1 (2023-03-05)
2.3.0 (2023-03-05)
- Select (95ab917)
2.2.0 (2023-03-05)
- RadioGroup (259e6b2)
2.1.2 (2023-03-05)
- export useOptionFieldProps (a2f84bd)
2.1.1 (2023-03-05)
- normalize option hooks prop type names (389ae92)
2.1.0 (2023-03-04)
- generic select and radio for primitive fields by coercing schema (f3419f5)
2.0.0 (2023-03-03)
- renamed select&multiselect field as those are not 'real'. For multiselect there is arrayField and the selectField is regular stringField.
selectFieldHook will be made generic to support boolean, number, string, date (all primitive values) selection from list of options.
- chore(release): 2.0.0-next.1
2.0.0-next.1 (2023-03-03)
- infer field value from field schema (378d1b5)
- renamed select&multiselect field as those are not 'real'. For multiselect there is arrayField and the selectField is regular stringField.
selectFieldHook will be made generic to support boolean, number, string, date (all primitive values) selection from list of options.
-
docs: update recent changes
-
refactor: rename ValidatedField to ZodField
2.0.0-next.1 (2023-03-03)
- infer field value from field schema (378d1b5)
- renamed select&multiselect field as those are not 'real'. For multiselect there is arrayField and the selectField is regular stringField.
selectFieldHook will be made generic to support boolean, number, string, date (all primitive values) selection from list of options.
1.1.2 (2023-03-03)
- debug labels (83716a4)
1.1.1 (2023-03-01)
1.1.0 (2023-03-01)
- booleanFIeld input hook and demo (d6957ba)
1.0.11 (2023-03-01)
- selectField with scoped id & document radio group example (f021759)
1.0.10 (2023-03-01)
- exclude stories from build/dist (101c4f7)
1.0.9 (2023-02-28)
1.0.8 (2023-02-28)
- checkboxField without params (f264619)
- field error default children & field prop id as atom key (ae3eaf6)
1.0.7 (2023-02-28)
1.0.6 (2023-02-27)
1.0.5 (2023-02-27)
- numberField w/ required error message (36c420c)
1.0.4 (2023-02-27)
- fileField w/ configurable required message (97f7ecd)
1.0.3 (2023-02-27)
- add boolean field (2d93cda)
1.0.2 (2023-02-27)
- checkbox field w/ configurable required message (5355f50)
1.0.1 (2023-02-26)
- array field export add/remove button props (c54fd3e)
- chakra-ui/checkbox (33b12cf)
- number input controlled & clearable (fde3331)
- optional checkbox (153a710)
- rating field 0 by default (0b739e4)
- shorten fieldAtoms to fields in array field (5dac894)
- array field with empty message (b38106e), closes #1
- multiselect & flowbite checkboxgroup (d3a5a6f)
- use field with validation (ae08fb0)