-
Notifications
You must be signed in to change notification settings - Fork 77
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
[List]: add mode prop for choosing between flat and nested lists #9173
Labels
4 - verified
Issues that have been released and confirmed resolved.
breaking change
Issues and pull requests with code changes that are not backwards compatible.
c-list
Issues that pertain to the calcite-list component
Calcite (design)
Issues logged by Calcite designers.
calcite-components
Issues specific to the @esri/calcite-components package.
design
Issues that need design consultation prior to development.
enhancement
Issues tied to a new feature or request.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
p3 - want for upcoming milestone
User set priority status of p3 - want for upcoming milestone
ready for dev
Issues ready for development implementation.
Milestone
Comments
This was referenced Apr 23, 2024
This was referenced Nov 19, 2024
eriklharper
added a commit
that referenced
this issue
Nov 20, 2024
**Related Issue:** #9173 ## Summary BREAKING CHANGE: Removes the deprecated `layout` property by converting it to an internal property. Developers will need to replace `calcite-action-group`'s `layout` property with it's parent's `layout` property (i.e., parent `action-pad` or `action-bar`).
Updated the description to include a before/after screenshot using the current build of List. Spacing will be improved with #7100. |
eriklharper
added a commit
that referenced
this issue
Nov 20, 2024
**Related Issue:** #9173 ## Summary BREAKING CHANGE: Removes the following deprecated properties from `calcite-shell-panel`: `detachedHeightScale`, `detached` and the `--calcite-shell-panel-detached-max-height` CSS property. Developers will need to replace `calcite-shell-panel`'s `detachedHeightScale` and `detached` properties with `heightScale` and `displayMode`.
driskull
added a commit
that referenced
this issue
Nov 23, 2024
Installed and assigned for verification. |
🍡 Verified locally on |
For documentation purposes later, here's a codepen sample in <calcite-list display-mode="nested"> |
benelan
pushed a commit
that referenced
this issue
Feb 8, 2025
**Related Issue:** #9173 ## Summary BREAKING CHANGE: Removes the deprecated `layout` property by converting it to an internal property. Developers will need to replace `calcite-action-group`'s `layout` property with it's parent's `layout` property (i.e., parent `action-pad` or `action-bar`).
benelan
pushed a commit
that referenced
this issue
Feb 8, 2025
**Related Issue:** #9173 ## Summary BREAKING CHANGE: Removes the following deprecated properties from `calcite-shell-panel`: `detachedHeightScale`, `detached` and the `--calcite-shell-panel-detached-max-height` CSS property. Developers will need to replace `calcite-shell-panel`'s `detachedHeightScale` and `detached` properties with `heightScale` and `displayMode`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4 - verified
Issues that have been released and confirmed resolved.
breaking change
Issues and pull requests with code changes that are not backwards compatible.
c-list
Issues that pertain to the calcite-list component
Calcite (design)
Issues logged by Calcite designers.
calcite-components
Issues specific to the @esri/calcite-components package.
design
Issues that need design consultation prior to development.
enhancement
Issues tied to a new feature or request.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
p3 - want for upcoming milestone
User set priority status of p3 - want for upcoming milestone
ready for dev
Issues ready for development implementation.
Check existing issues
Description
A way to control nesting behavior in List. Nested list items need to hold space for the expand button, but this space is undesirable in lists that, base on workflow, will never have nested items.
This would be a breaking change and should be paired with #7100.
Acceptance Criteria
Add a
mode="flat" (default) | "nested"
property.In
flat
, Lists are rendered flat, without collapsible nesting.In
nested
, a blank space is reserved for the expand button in every item.Before/after example:

Relevant Info
cc @driskull @jcfranco
Which Component
List
List Item
Example Use Case
No response
Priority impact
p3 - want for upcoming milestone
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: