-
Notifications
You must be signed in to change notification settings - Fork 75
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
[Input] Responsive layout #6677
Comments
Update from team discussion today: @geospatialem Can we close this issue out for the reason above? Thanks! |
Closing per Skye's note above. |
Hi @geospatialem Can we reopen this issue based on the need for truncation as listed in the updated description? Since this is a need across all Calcite Input components let me know if you suggest re-opening all 5 specific issues or if we can track the 5 inputs in this single issue. Thank you! |
@SkyeSeitz Looks like we've got a list above of all 5 inputs, so we could leverage this one issue. LMK if that works, otherwise we can organize additional issues later this week. |
Can we add calcite-text-area to the list ? |
@geospatialem @brittneytewks Lowered the estimate for this one. I think we can use the |
I've submitted a PR that updates all inputs from the list above. While I did update |
Forgot to mention that I added @anveshmekala Do you have bandwidth to pick up text area's truncation? |
Yep. |
@jcfranco Hmmm, yeah not sure how much sense this makes on Input Date/Time Picker. I think I'd expect invalid text to be removed from these onBlur? For the placeholder at least, I does look like we need to add a gap before the dropdown chevron. Both Input Pickers look like this in this edge-case width: |
|
Also not sure it would make sense for Text Area from the design perspective. I'd expect entered text to be clipped and scrollable like it is now. |
…icker): truncate value and placeholder when input is narrow (#8160) **Related Issue:** #6677 ## Summary Text will be truncated and display an ellipsis when the placeholder or value overflows the input. **Note**: this also tidies up some CSS by removing unnecessary `:host` usage and organizing some Tailwind utils.
Installed and assigned for verification. |
Removed |
…icker): truncate value and placeholder when input is narrow (#8160) **Related Issue:** #6677 ## Summary Text will be truncated and display an ellipsis when the placeholder or value overflows the input. **Note**: this also tidies up some CSS by removing unnecessary `:host` usage and organizing some Tailwind utils.
Description
Mobile responsiveness across Calcite Design System, focused on web (traditionally desktop sized web browser), tablet, phone screen sizes, and large monitors.
Acceptance Criteria
1. Consider breaking changes for folks. Consultation should occur on both the design and development teams.
2. Components need to be designed for the following breakpoints:
476px
768px
1152px
1440px
3. Add truncation to placeholder and value props for all Calcite Input components:
Current behavior
![image](https://private-user-images.githubusercontent.com/29716057/259225005-3507583c-a688-456e-9802-af464cc3ef5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTYwMDYsIm5iZiI6MTcyMTQ1NTcwNiwicGF0aCI6Ii8yOTcxNjA1Ny8yNTkyMjUwMDUtMzUwNzU4M2MtYTY4OC00NTZlLTk4MDItYWY0NjRjYzNlZjViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA2MDgyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1NTE5NDcxN2FiNjNhNzE1ZTFjMDYyZjk1ZWVlMjllYmNkMDE1ZmZmZmNmMWQyNWU0NTg3YTM2NWE1NDNmZjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.lqt7IdF6GgeVI4iQuL_FD7yUi2Zzg6v35Tis8VPqkuk)
https://github.com/Esri/calcite-design-system/assets/29716057/07d7b4d4-fd1a-4efe-a8cf-3a2b82c42899
Expected behavior
![image](https://private-user-images.githubusercontent.com/29716057/259224903-a7c6089b-c428-4955-98f0-bdad65b52ccb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTYwMDYsIm5iZiI6MTcyMTQ1NTcwNiwicGF0aCI6Ii8yOTcxNjA1Ny8yNTkyMjQ5MDMtYTdjNjA4OWItYzQyOC00OTU1LTk4ZjAtYmRhZDY1YjUyY2NiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA2MDgyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5ZmFlYTRiODcyNTkxM2YxYmE5MzM2NGYyZmI1NGMxMTY0MGVjMTFiM2RkNTIxZWFjNjY5YjVkZmRmNDBjODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.x4CCyV_crLxlTSGEXXBCLpxwfpGn4P94mqe5boa5tvQ)
https://github.com/Esri/calcite-design-system/assets/29716057/8a25f049-96a9-4dbd-8eb2-4c923c1c6373
Relevant Info
Part of epic #6670
Which Component
input
Example Use Case
No response
Priority impact
p4 - not time sensitive
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: