@@ -381,19 +381,19 @@ export const MetadataUtils = {
381
381
isGridLayoutedContainer ( instance : ElementInstanceMetadata | null ) : boolean {
382
382
return instance ?. specialSizeMeasurements . layoutSystemForChildren === 'grid'
383
383
} ,
384
- isGridCell ( metadata : ElementInstanceMetadataMap , path : ElementPath ) : boolean {
384
+ isGridItem ( metadata : ElementInstanceMetadataMap , path : ElementPath ) : boolean {
385
385
const elementMetadata = MetadataUtils . findElementByElementPath ( metadata , path )
386
386
return elementMetadata ?. specialSizeMeasurements . parentLayoutSystem === 'grid'
387
387
} ,
388
- isGridCellWithPositioning ( metadata : ElementInstanceMetadataMap , path : ElementPath ) : boolean {
388
+ isGridItemWithPositioning ( metadata : ElementInstanceMetadataMap , path : ElementPath ) : boolean {
389
389
const element = MetadataUtils . findElementByElementPath ( metadata , path )
390
390
return (
391
- MetadataUtils . isGridCell ( metadata , path ) &&
391
+ MetadataUtils . isGridItem ( metadata , path ) &&
392
392
element != null &&
393
- ! MetadataUtils . hasNoGridCellPositioning ( element . specialSizeMeasurements )
393
+ ! MetadataUtils . hasNoGridItemPositioning ( element . specialSizeMeasurements )
394
394
)
395
395
} ,
396
- hasNoGridCellPositioning ( specialSizeMeasurements : SpecialSizeMeasurements ) : boolean {
396
+ hasNoGridItemPositioning ( specialSizeMeasurements : SpecialSizeMeasurements ) : boolean {
397
397
return (
398
398
specialSizeMeasurements . elementGridPropertiesFromProps . gridColumnStart == null &&
399
399
specialSizeMeasurements . elementGridPropertiesFromProps . gridColumnEnd == null &&
@@ -632,7 +632,7 @@ export const MetadataUtils = {
632
632
return (
633
633
MetadataUtils . isFlexLayoutedContainer (
634
634
MetadataUtils . findElementByElementPath ( jsxMetadata , EP . parentPath ( path ) ) ,
635
- ) || MetadataUtils . isGridCell ( jsxMetadata , path )
635
+ ) || MetadataUtils . isGridItem ( jsxMetadata , path )
636
636
)
637
637
} ,
638
638
getRelativeAlignJustify : function (
0 commit comments