feat(mistica-css): TextField / SearchField#1370
Conversation
|
Size stats
|
|
Accessibility report ℹ️ You can run this locally by executing |
| <h4 class="mistica-text-title1">TextField</h4> | ||
| <div class="vertical-group"> | ||
| <div class="mistica-text-field"> | ||
| <input id="text-field-1" type="text" placeholder=" " /> |
There was a problem hiding this comment.
note that placeholder is always needed. Without a placeholder we can't implement the shrinking label effect when the input is filled (without js). With placeholder we can use the :placeholder-visible pseudoclass to do the trick. When we don't want the input to have a visible placeholder, we can set it to " " as I'm doing in this example
|
Deploy preview for mistica-web ready! ✅ Preview Built with commit 882ae54. |
Co-authored-by: Ignacio Ceballos (Yayo) <yceballost@gmail.com>
# [16.26.0](v16.25.0...v16.26.0) (2025-05-28) ### Features * **mistica-css:** counter ([#1372](#1372)) ([70d8beb](70d8beb)) * **mistica-css:** ErrorFeedbackScreen ([#1371](#1371)) ([99ea3cf](99ea3cf)) * **mistica-css:** slider ([#1374](#1374)) ([89c6aee](89c6aee)) * **mistica-css:** switch ([#1364](#1364)) ([7b6df80](7b6df80)) * **mistica-css:** TextField / SearchField ([#1370](#1370)) ([55781c4](55781c4)) * **RowList, BoxedRowList, Stack:** O2DE-7699 RowList with aria-live and aria-atomic attributes ([#1376](#1376)) ([5070c61](5070c61))
|
🎉 This PR is included in version 16.26.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
WEB-2194