Closed geospatialem closed 3 months ago
Not sure if this applies to Card cc @ashetland @SkyeSeitz - I think it may have just been mentioned as a component that has footer-start/end slots.
Agreed. I believe the idea was to confirm if we wanted more consistency between footers across components or if Card should be unique.
cc @geospatialem, @brittneytewks
Can we determine the best approach for the footer slots? In most use cases do we want the footer as is without the need for start/end slots or is it the other way around? I'm wondering if the footer needs to be deprecated.
@ashetland @SkyeSeitz @macandcheese
From what I gather so far after speaking with @macandcheese and @geospatialem , footer-start/end
will live alongside footer
:
footer
- for non modal/dialog scenariosfooter-start
- to support modal/dialog components (future)footer-end
- to support modal/dialog components (future)The question there is what happens when the footer
and one or both of the new footer-start/end
are populated? Do the new slots take precedence?
In the case of the panel
, there is a header-content
in addition to header-actions-start/end
and they display next to each other. Would it make sense for the footer-start/end
to just appear "around" the footer
slot?
Added visual changes
due to default padding changes in the footer.
Installed and assigned for verification.
The panel
is good to go in 2.10.0-next.10
via https://codepen.io/geospatialem/pen/PovBzKM 👍🏻 , but it looks like the flow-item
's slots are reversed as depicted in https://codepen.io/geospatialem/pen/pomZbwE.
Sending back to development for follow-up prior to release.
Installed and assigned for verification.
🍡 Verified locally on dev
.
flow-item
slots are ordered correctly now 👌
@DitwanP @geospatialem this introduced a regression. The following CSS prop isn't being honored anymore: https://github.com/Esri/calcite-design-system/commit/3def3ea51bc69dfd1ebefc6a1ef2bcfe0bdc943c#r144045487
--calcite-panel-footer-padding
Description
Currently the
panel
andflow-item
have a"footer"
slot, however to accommodate the Dialog + Modal component effort in https://github.com/Esri/calcite-design-system/issues/7886, we may need to account of additional footer slots, such as"footer-start"
and"footer-end"
to match the "back / secondary / start" currently offered in themodal
component.Acceptance Criteria
Refactor
panel
andflow-item
footer to includefooter-end
&footer-start
slots with no built in spacing between or within slotsWhich Component
panel
flow-item
Relevant Info
A dependency needed for the Dialog + Modal component effort in https://github.com/Esri/calcite-design-system/issues/7886
See Figma file for specs
Calcite package