refactor(catalog): remove obsolete gridSizes prop from AboutField
Remove the unused `gridSizes` prop from AboutField. Grid layout is now owned by the parent Grid.Root in AboutContent, making this prop unnecessary. Update changeset with breaking change and migration guide. Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
@@ -5,13 +5,18 @@
|
||||
|
||||
Migrated `EntityAboutCard`, `EntityLinksCard`, `EntityLabelsCard`, `GroupProfileCard`, and `UserProfileCard` from MUI/InfoCard to use the new BUI card layout and BUI components where possible.
|
||||
|
||||
**BREAKING**: Removed `variant` prop from EntityAboutCard, EntityUserProfileCard, EntityGroupProfileCard, EntityLabelsCard, EntityLinksCard
|
||||
**BREAKING**: Removed `variant` prop from EntityAboutCard, EntityUserProfileCard, EntityGroupProfileCard, EntityLabelsCard, EntityLinksCard. Removed `gridSizes` prop from `AboutField`.
|
||||
|
||||
**Migration:**
|
||||
|
||||
Simply delete the obsolete `variant` prop, e.g:
|
||||
Simply delete the obsolete `variant` and `gridSizes` props, e.g:
|
||||
|
||||
```diff
|
||||
- <EntityAboutCard variant="gridItem" />
|
||||
+ <EntityAboutCard />
|
||||
```
|
||||
|
||||
```diff
|
||||
- <AboutField label="Owner" gridSizes={{ xs: 12, sm: 6, lg: 4 }} />
|
||||
+ <AboutField label="Owner" />
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user