Commit graph

116 commits

Author SHA1 Message Date
Woramat Ngamkham
2f2c28b13f
fix(validator): use a checked attribute for required validation in checkboxes (#205) 2022-11-25 21:35:42 +01:00
Fazza Razaq Amiarso
0853ca3b8f
fix: extends timeout for timed out test (#208)
* fix: extends timeout for timed out test

* fix: add dependent script to turbo test

* fix: disable threading for test

* fix: add timeout to vitest config

* chore: remove test-ci script

* fix: extends timeout to validator vitest config

* chore: conditionally disabling vitest threading on CI
2022-11-25 14:37:23 +01:00
Ayo Ayco
7d05ecc580
chore(library): implement turporepo (#206) 2022-11-23 20:05:07 +01:00
Fazza Razaq Amiarso
59d76181db
test(migrate): migrate test tooling from chai + mocha to vitest (#203)
* test(migrate): migrate test tooling from chai + mocha to vitest

* fix: fix wrong vitest cli command for watch
2022-11-21 13:15:58 +01:00
Neil An
31884a1757
feat(form): add setValue method to FormGroup class (#191) 2022-11-12 22:15:54 +01:00
Ayo Ayco
a0a20c33b2
feat(form): add index to radio group item id (#193)
* feat(form): add index to radio group item id

* feat(form): radio-option label for prop

* fe-test(form): update tests for radio group
2022-11-12 07:57:31 +01:00
Ayo
6b96cd1e34 chore: update check and build scripts 2022-11-10 19:03:45 +01:00
Ayo
d407f0e379 chore(form): update package homepage 2022-11-10 18:54:33 +01:00
Ayo Ayco
ce1d4df9e8
chore: update deps (#183) 2022-11-08 10:18:25 +01:00
Alexander Samaniego
93a8d49f0a
feat(form): implement unique IDs (#182)
* Added Short Unique ID npm library

* Added unique ID to form-control

* Added unique ID to form-group

* Unique ID added to <form>

* Added unique IDs to control components

* Added IDs to label and fieldset

* Update Form.astro with requested changes

Co-authored-by: Ayo Ayco <ayo@ayco.io>

* Adjustments for requested changes.

Co-authored-by: Ayo Ayco <ayo@ayco.io>
2022-11-08 08:53:22 +01:00
Ayo Ayco
cec0a02c46
docs: initial Form, FormGroup documentation (#176)
* docs: initial structure and form api docs

* feat(docs): warning underconstruction

* docs: initial FormGroup and FormControl docs

* docs: initial example usage

* fix: docs build errors
2022-11-06 20:11:42 +01:00
Ayo
ec19766202 chore: release common, form, validator 2022-11-05 09:23:42 +01:00
Ayo
6ae1bec42f chore: update deps 2022-11-05 08:53:22 +01:00
Ayo
5635c5461e chore: update release notes 2022-11-05 08:51:33 +01:00
Ayo
e089626f81 refactor: make checked optional prop 2022-11-05 08:50:54 +01:00
Ayo
2888c766b7 chore: release form, common, validator 2022-11-05 08:36:47 +01:00
Ayo
9e54d2b0a9 fix: broken types 2022-11-05 08:29:43 +01:00
Ayo
a868e4f550 fix: broken config type 2022-11-05 08:29:16 +01:00
Ayo
e9de68fe49 chore: release patch for wrong dependency version 2022-11-02 21:58:42 +01:00
Ayo
fcf32cb21b chore: update release docs for common@0.1.0 2022-11-02 21:43:36 +01:00
Ayo
f27f96c9dc chore: release validator@0.2.0 2022-11-02 21:33:37 +01:00
Ayo
c28b117fd1 chore: release form@0.6.0 2022-11-02 21:32:32 +01:00
Ayo
33e421fffb chore: release common@0.0.4 2022-11-02 21:28:08 +01:00
Woramat Ngamkham
b4c33eec66
refactor(form): deprecate labelPosition (#172) 2022-11-01 16:24:29 +01:00
Woramat Ngamkham
f93f8b6484
feat(form): implement TextArea control (#169) 2022-11-01 00:21:39 +01:00
Chase Reynolds
c38e5dfbe3
feat(form): add method setValidators to FormControl (#170) 2022-10-31 19:27:06 +01:00
Allan Siqueira
f502e6ca24
feat(form): readOnly flag (#166)
* feat: add readOnly flag on form

* fix: resolve PR coments

* fix: add flag disabled to fields that dont have effect on readonly attr
2022-10-31 17:27:43 +01:00
Ayo
6d9907a06c chore: update deps 2022-10-29 12:55:34 +02:00
Woramat Ngamkham
5677222258
fix(form): asterisks on Label.astro (#160) 2022-10-28 22:14:50 +02:00
Woramat Ngamkham
304cad0151
feat(form): add Dropdown control (#158) 2022-10-28 19:48:26 +02:00
Ayo
796fb962ae chore: bump patch, update deps 2022-10-28 13:24:39 +02:00
Ayo
42a53522db chore: update deps 2022-10-28 13:23:22 +02:00
Ayo
9513ef2134 chore: bump patch and publish common 2022-10-28 13:17:46 +02:00
Ayo
606e455e6e chore: bump patch and publish form 2022-10-28 12:57:00 +02:00
Ayo
30fc4f48c9 fix(form): wrong import in form-control.ts 2022-10-28 12:54:18 +02:00
Ayo
54e4287b5f chore: bump patch and publish form, validator 2022-10-28 12:49:07 +02:00
Ayo
3cba6e8e9c chore: bump patch and publish common 2022-10-28 12:46:49 +02:00
Ayo
79882fd9b1 refactor: use @astro-reactive/common 2022-10-28 12:41:32 +02:00
Ayo
40dba08c6a chore: initialize common package 2022-10-28 12:34:30 +02:00
Woramat Ngamkham
ebff4940f2
refactor(form): implement options prop for Radio (#147) 2022-10-25 09:56:06 +02:00
Woramat Ngamkham
c8ace159da
fix(form): asterisks ::before pseudoclass (#131) 2022-10-25 08:35:34 +02:00
Ayo
6ac9100a2f docs: update readme and TODO comment 2022-10-24 10:59:43 +02:00
Ayo
819d6e4526 chore: bump patch form 2022-10-23 23:25:58 +02:00
Ayo
715eaaa408 fix(form): import of validator causes error if not installed 2022-10-23 23:23:23 +02:00
Ayo
66ba7fa292 chore: bump minor version for form, validator 2022-10-23 23:13:23 +02:00
Ayo Ayco
3d361fcb5b
refactor: form package cleanup (#135)
* refactor: form package cleanup

* refactor: organize components folder
2022-10-23 23:04:40 +02:00
Ayo
b9995b8a63 docs: update project and packages readme 2022-10-23 20:26:32 +02:00
Ayo Ayco
d128747240
feat(validator): server-side rendered validation errors (#123)
* feat(validator): server-side rendered validation errors

* test(form): field should render error

* refactor: remove comment

* fix: incorrect imports

* chore: update deps

* chore: update build commands
2022-10-22 04:35:16 +02:00
Ayo
82c121a85d fix(form): incorrect imports 2022-10-21 15:21:50 +02:00
Ayo
ddccd5cf80 chore: remove test step for packages/common 2022-10-21 14:10:35 +02:00