Skip to content

[Panel & Flow Item] Add "content-top" slot #8980

Description

@geospatialem

Check existing issues

Description

Add a new slot to the panel and flow-item components - "content-top" below the action-bar slot so we can render in a new Dialog component using the "sticky" functionality currently provided in the Modal component.

Acceptance Criteria

  1. Slot should be sticky as it is Modal
  2. Slot should come with overridable padding
  3. The following css var should be added to match Modal's current overrides:
    --calcite-panel-content-top-padding: Specifies the padding of the component's content-top slot

Relevant Info

A dependency needed for the Dialog + Modal component effort in #7886
See Figma file for specs
image

Which Component

panel
flow-item

Example Use Case

No response

Priority impact

p2 - want for current milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (design)

Metadata

Metadata

Labels

2 - ready for devIssues that are designed, have acceptance criteria defined, and are ready for a developer to pick up5 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.Calcite (design)Issues logged by Calcite designers.calcite-componentsIssues specific to the @esri/calcite-components package.designIssues that need design consultation prior to, or during, development.enhancementIssues tied to a new feature or request.estimate - 3A day or two of work, likely requires updates to tests.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestonep - highIssue should be addressed in the current milestone, impacts component or core functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions