Skip to content

[Enhancement] Add backward-compatible aliases for icon exports #1550

@miacycle

Description

@miacycle

Current Behavior

Sistent's icon exports are valid today, but several names differ from the more common *Icon convention that downstream callers and reviewers often expect.

For example, the package currently exports names like:

  • AccessTime
  • GroupAdd
  • InfoOutlined
  • Link
  • BarchartIcon

During downstream Meshery work, these exports were repeatedly flagged as suspicious because consumers expected names like AccessTimeIcon, GroupAddIcon, InfoOutlinedIcon, LinkIcon, and BarChartIcon.

Desired Behavior

Add backward-compatible alias exports for these icons so both naming styles work:

  • AccessTimeIcon -> alias of AccessTime
  • GroupAddIcon -> alias of GroupAdd
  • InfoOutlinedIcon -> alias of InfoOutlined
  • LinkIcon -> alias of Link
  • BarChartIcon -> alias of BarchartIcon

Why this helps

  1. Reduces downstream confusion and false-positive review comments.
  2. Better matches the dominant icon naming convention used across React/MUI ecosystems.
  3. Keeps the change additive and non-breaking for existing consumers.

Notes

  • This is not a request to remove the current exports.
  • The request is only to add aliases for compatibility and ergonomics.
  • Related context: Meshery had to verify these names manually while reviewing @sistent/sistent usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions