freeCodeCamp/tools/ui-components
Muhammed Mustafa 47ffd20f74
fix(client): add type to warn misuse of attributes in formControl (#48696)
* feat: add type to warn miss usage of attributes in formControl

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* refactor the value type

Co-authored-by: sembauke <semboot699@gmail.com>

* add condition type for readyonly and onchange types

* warn when using readonly and onchange props together

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* allow value to be undefined

* Make read-only undefined

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: sembauke <semboot699@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-02-10 13:24:23 +00:00
..
.storybook fix(ui-components): correct the setup of tailwind default styles (#45369) 2022-03-15 15:20:57 +03:00
src fix(client): add type to warn misuse of attributes in formControl (#48696) 2023-02-10 13:24:23 +00:00
utils feat(tools): add component generation script to ui-components (#44951) 2022-02-08 09:38:00 +01:00
.babelrc.js feat(tools): remove eslint-plugin-prettier for prettier (#42438) 2021-10-06 21:02:21 +05:30
package.json fix(deps): update dependency typescript to v4.9.5 2023-02-04 19:39:26 +00:00
postcss.config.js feat(tools): setup TailwindCSS in ui-components (#42153) 2021-05-17 12:43:27 +05:30
rollup.config.js fix: build tailwind with rollup in TS (#44713) 2022-01-13 16:59:03 +03:00
tailwind.config.js fix(ui-components): add an & prefix to custom variant (#46608) 2022-06-22 10:12:39 +02:00
tsconfig.json feat(tools): add component generation script to ui-components (#44951) 2022-02-08 09:38:00 +01:00