packages/codemods/v5-0-0/06-tabs-position-to-placement.md
tabPosition → tabPlacement with Value MappingThe Tabs block renames tabPosition to tabPlacement and remaps directional values from physical to logical names.
tabPosition to tabPlacementleft → start, right → endtop and bottom are unchangedGlob: **/*.{yaml,yml}
Grep: tabPosition:
- id: settings_tabs
type: Tabs
properties:
tabPosition: left
- id: settings_tabs
type: Tabs
properties:
tabPlacement: start
- id: nav_tabs
type: Tabs
properties:
tabPosition: right
- id: nav_tabs
type: Tabs
properties:
tabPlacement: end
- id: main_tabs
type: Tabs
properties:
tabPosition: top
- id: main_tabs
type: Tabs
properties:
tabPlacement: top
tabPosition: { _state: position }), rename the key to tabPlacement but flag for manual review — the state value may contain "left" or "right" that also needs updatingtabPosition is a unique property name — safe to rename globally without block-type checkinggrep -rn 'tabPosition:' --include='*.yaml' --include='*.yml' .
Should return zero matches.