Skip to content

[feat]: Rename <pf-table> to <pf-v5-table> #3080

@bennypowers

Description

@bennypowers

Summary

Rename <pf-table> to <pf-v5-table> and update associated CSS custom properties to use the pf-v5 prefix.

Scope

  • Rename element tag from pf-table to pf-v5-table
  • Rename all CSS custom properties (e.g. --pf-table--* to --pf-v5-table--*)
  • Update internal class names, imports, and type declarations

Sub-components

Also rename:

  • <pf-caption> to <pf-v5-caption>
  • <pf-tbody> to <pf-v5-tbody>
  • <pf-td> to <pf-v5-td>
  • <pf-th> to <pf-v5-th>
  • <pf-thead> to <pf-v5-thead>
  • <pf-tr> to <pf-v5-tr>

Requirements

  • MUST maintain feature parity with the current <pf-table> implementation
  • MUST rename all public CSS custom properties
  • MUST update HTMLElementTagNameMap declarations
  • SHOULD provide a codemod or migration guide for downstream consumers

Metadata

Metadata

Assignees

No one assigned

    Labels

    1:1Aligning components with PatternFly v4for devpriority: mediumSeverity level: 2

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions