-
Notifications
You must be signed in to change notification settings - Fork 76
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
[Alert] Responsive layout #6673
Comments
Update from team discussion today: |
It looks like I can't assign myself to this issue @SkyeSeitz but at least I can comment now! |
Just added 'ya @rmstinson 👍🏻 |
Compact Alerts have been built - they're intended for use at a width of 767px and lower. Building them also presented an opportunity to streamline the regular Alert component - currently we have a variant for autodismiss, and a variant for default. However, it's possible to build the component with a show/hide boolean for the Progress component, so that we can have a configuration option for autodismiss, and cut the number of variants in the component in half. Take a look here: https://www.figma.com/file/eradSav1w0c4viNljdROKk/Alert---responsive-design-%5B6673%5D?type=design&node-id=517%3A12655&mode=design&t=eM0Y3CNz80p4B0wH-1 If we're happy with this approach I can change the rest of the Alerts as well. This might have ramifications for the Notice component as well @ashetland |
Thanks, @rmstinson. Prototype and specs marked as Ready for Dev. |
**Related Issue:** #6673 ## Summary Updates alert to be responsive per the design spec. ## Additional changes * simplified class names (`alert` prefix is no longer necessary) * simplified styles by fixing issues reported by [`no-descending-specificity`](https://github.com/stylelint/stylelint/blob/main/lib/rules/no-descending-specificity/README.md) stylelint rule * `requestedIcon` is now computed at render time to simplify component * refactored class names (e.g., used BEM-like convention to state/modifier classes) and applied them according to conventions * clean up test story
Installed and assigned for verification. |
Verified in Opened #7921 to mitigate the latter. |
Description
Mobile responsiveness across Calcite Design System, focused on web (traditionally desktop sized web browser), tablet, phone screen sizes, and large monitors.
Acceptance Criteria
476px
768px
1152px
1440px
Relevant Info
Part of epic #6670
Which Component
alert
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: