Skip to content

[Action Bar] Deprecate expandDisabled and replace with expandToggleDisabled #14695

Description

@isaacbraun

monday.com sync: #12366231128

Check existing issues

Which Component

Action Bar

Description

Action Bar's expandDisabled property should be deprecated and replaced (renamed) by expandToggleDisabled.

This change is helpful because the name of the expandDisabled property causes confusion in two ways:

  1. Even when expandDisabled is set, expand toggling can still happen based on layout changes. The property actually hides a UX element.
  2. It conflicts with the expanded property, as when expandDisabled is set it seems backwards to the user to think they would still need the expanded property, as they just disabled it.

Acceptance Criteria

  • The expandToggleDisabled property is created, replacing the behavior of expandDisabled.
  • The expandDisabled property is deprecated, with an issue created upon its deprecation to remove it.

Relevant Info

Originated from discussion in #14589

Example Use Case

No response

Priority impact

impact - p2 - want for an upcoming milestone

Calcite package

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

Esri team

Calcite (dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Calcite (dev)Issues logged by Calcite developers.c-action-barIssues that pertain to the calcite-action-bar componentcalcite-componentsIssues specific to the @esri/calcite-components package.estimate - 3A day or two of work, likely requires updates to tests.future breaking changeIssues and pull requests with deprecation(s), requires a breaking change in a future milestone.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestonep - mediumIssue is non core or affecting less that 60% of people using the libraryrefactorIssues tied to code that needs to be significantly reworked.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions