Summary
Rename <pf-switch> to <pf-v5-switch> and update associated CSS custom properties to use the pf-v5 prefix.
Scope
- Rename element tag from
pf-switch to pf-v5-switch
- Rename all CSS custom properties (e.g.
--pf-switch--* to --pf-v5-switch--*)
- Update internal class names, imports, and type declarations
Requirements
- MUST maintain feature parity with the current
<pf-switch> implementation
- MUST rename all public CSS custom properties
- MUST update
HTMLElementTagNameMap declarations
- SHOULD provide a codemod or migration guide for downstream consumers
Summary
Rename
<pf-switch>to<pf-v5-switch>and update associated CSS custom properties to use thepf-v5prefix.Scope
pf-switchtopf-v5-switch--pf-switch--*to--pf-v5-switch--*)Requirements
<pf-switch>implementationHTMLElementTagNameMapdeclarations