Update React to 19 (#1360)

## Launch Checklist

This updates React to 19.
It removes the unmaintained `react-icon-base` package and uses icons
from the existing one (also removes the svgs).
It also updates the other packages so that everything should be up to
date.

 - [x] Briefly describe the changes in this PR.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Harel M
2025-09-10 01:52:52 +03:00
committed by GitHub
parent 7bfc3188f7
commit 3725f83b48
22 changed files with 117 additions and 208 deletions

View File

@@ -29,7 +29,7 @@ type MapOpenLayersInternalProps = {
mapStyle: object
accessToken?: string
style?: object
onLayerSelect(...args: unknown[]): unknown
onLayerSelect(layerId: string): void
debugToolbox: boolean
replaceAccessTokens(...args: unknown[]): unknown
onChange(...args: unknown[]): unknown
@@ -156,7 +156,7 @@ class MapOpenLayersInternal extends React.Component<MapOpenLayersInternalProps,
const t = this.props.t;
return <div className="maputnik-ol-container">
<div
ref={x => this.popupContainer = x}
ref={x => {this.popupContainer = x}}
style={{background: "black"}}
className="maputnik-popup"
>
@@ -193,7 +193,7 @@ class MapOpenLayersInternal extends React.Component<MapOpenLayersInternalProps,
}
<div
className="maputnik-ol"
ref={x => this.container = x}
ref={x => {this.container = x}}
role="region"
aria-label={t("Map view")}
style={{