New Entity type that will be the base for all entities such as citations, symbols, equations, etc.
New BoundingBox type
Moved StyleSizeProps type out of BoundingBox component and into new file. Renamed StyleSizeProps to Size
Updated BoundingBox component to use new BoundingBox type in props
Testing Plan
Checked that components that rely on BoundingBox component still work- red boxes with popover display, highlight overlay, text highlight, and figure scroll
Description
This covers the Entity and BoundingBox subtasks of https://github.com/allenai/scholar/issues/28339
Changes in this PR:
types.ts
file:Entity
type that will be the base for all entities such as citations, symbols, equations, etc.BoundingBox
typeStyleSizeProps
type out ofBoundingBox
component and into new file. RenamedStyleSizeProps
toSize
BoundingBox
component to use newBoundingBox
type in propsTesting Plan
BoundingBox
component still work- red boxes with popover display, highlight overlay, text highlight, and figure scroll