-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🛠 Tailwinding Care #3742
Comments
@rithviknishad do you need any help with this? |
@khavinshankar definitely!! Could you help tailwind the async autocomplete field in the #3744 patient filters? Generally, apart from that, I was thinking of having all the input components have their own validators and also be compliant with form reducers across care since we mostly have only so that, the component's API interface would just take in the additional props (validator, reducerProps) see this. however, the components API should still be usable when not used with reducers. For example, the text input is composed like this: |
src/Components/Auth/ResetPassword.tsx
:
rithviknishad/playground#23
do not assign this issue
This issue is an EPIC to track the progress of making custom tailwind components for care, sub-issues will be created).
Link this issue on pull requests that implement or modify a tailwind component without a closing keyword.
Notes
Follow the Figma design provided when implementing the components.
Add
redesign
label to related issues / PR.When implementing or redesigning an entire form that replaces components with the custom tailwind components, name the branch in the format:
tailwind/{branch-name}
, for example:tailwind/asset-registration
ortailwind/patient-filters
ortailwind/patient-consultation
.Form field components shall be wrapped by
FormField
so that the design stays consistent across the app and achieves a uniform component API interface.Components to be built
TextFormField
TextAreaFormField
DatePicker
DateRangePicker
SelectMenu
MultiSelectMenu
AsyncAutocompleteFormField
ButtonV2
AutocompleteSelect
AutocompleteMultiSelect
Collapse
(Accordion) #3763RadioFormField
component #4740RadioFormField
CheckboxFormField
PhoneNumberField
toPhoneNumberFormField
and deprecates the legacy component #4527PhoneNumberFormField
Tabs
SlideOver
Form
component (not used anywhere) #4633Form
Dialog
ConfirmActionDialog
Callout
Note
PropertyDetail
ContactDisplay
FeatureTag
SearchInput
RelativeTime
component which shows actual timestamp on hover else relative time (like GitHub relative-time) #4649RelativeTime
CircularProgress
We can use tailwind/headlessui for building some of the components
Other related tasks
develop
branch instead of the PR's branch.Migrations
MutlilineInputField
#4317CheckCircleOutline
icon of material UI #4367Page
component to make padding across pages consistent #4375cc: @gigincg
The text was updated successfully, but these errors were encountered: