Closed macandcheese closed 1 month ago
Currently converting CalciteModal
to CalciteDialog
components to make use of the new alerts
slot for Data Pipelines and we need to maintain the same visual design as the CalciteModal
for now. The content background color is grey and cannot be changed. Adding --calcite-dialog-background-color
will help with the migration. Thanks.
+1 needed for ArcGIS Online
+1 needed for ArcGIS Hub as well
+1 for ArcGIS Dashboards
+1 for Dialog. We seem to still be using Modals with white bkg in Web Editor haha. Btw, do we have this for other containers like panels, sheets, pages, etc. Imo this is partly calcite enhancement, and partly us designers better aligning on visual consistency in pattern usage.
Installed and assigned for verification.
🍠 Verified locally on dev
noticed Panel was also included in the PR that added the dialog token so verified that as well:
Check existing issues
Description
As part of the migration story from Modal -> Dialog, users are currently unable to replicate the
--calcite-modal-background-color
functionality in Dialog.Acceptance Criteria
While we plan to add support for this as part of the larger effort in #7180 - currently users cannot migrate from Modal to Dialog and persist their existing design. I'd expect this to be
--calcite-dialog-background-color
Relevant Info
Dialog will of course get the "full token treatment" when that lands, but this could be a way to ease the migration issue in the meantime. We should use the same name we expect to use as part of #7180 to ensure no breaking changes occur when that lands.
Which Component
Dialog
Example Use Case
As a user, I want to set the background color of the Dialog via css property.
Priority impact
impact - p1 - need for current milestone
Calcite package
Esri team
Calcite (design)