@colisweb/rescript-toolkit 5.44.0 → 5.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "5.44.0",
3
+ "version": "5.44.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -22,6 +22,7 @@ let make = (
22
22
  ~onChange: option<ReactEvent.Form.t => unit>=?,
23
23
  ~onChangeText: option<string => unit>=?,
24
24
  ~allowWhiteSpace=false,
25
+ ~onPaste=?,
25
26
  ~isInvalid: option<bool>=?,
26
27
  ~className: string="",
27
28
  ~style: option<ReactDOM.style>=?,
@@ -41,6 +42,7 @@ let make = (
41
42
  ?style
42
43
  ?name
43
44
  ?value
45
+ ?onPaste
44
46
  ?defaultValue
45
47
  ?type_
46
48
  ?disabled
@@ -39,7 +39,7 @@ module Event = {
39
39
  @send
40
40
  external getGeometry: (t<'data>, unit) => Geo.Point.t = "getGeometry"
41
41
  @send
42
- external getBoundingBox: (t<'data>, unit) => Geo.Rect.t = "getBoundingBox"
42
+ external getBoundingBox: (t<'data>, unit) => Js.Nullable.t<Geo.Rect.t> = "getBoundingBox"
43
43
  }
44
44
 
45
45
  @get
@@ -253,7 +253,7 @@ module Map = {
253
253
  @send
254
254
  external addDomMarker: (t, DomMarker.t) => unit = "addObject"
255
255
  @send
256
- external getBoundingBox: (t, unit) => Geo.Rect.t = "getBoundingBox"
256
+ external getBoundingBox: (t, unit) => Js.Nullable.t<Geo.Rect.t> = "getBoundingBox"
257
257
  @send
258
258
  external removeAll: (t, unit) => unit = "removeAll"
259
259
  @send
@@ -277,7 +277,7 @@ module Map = {
277
277
  external make: (Geo.LineString.t, options) => t = "H.map.Polyline"
278
278
 
279
279
  @send
280
- external getBoundingBox: (t, unit) => Geo.Rect.t = "getBoundingBox"
280
+ external getBoundingBox: (t, unit) => Js.Nullable.t<Geo.Rect.t> = "getBoundingBox"
281
281
  }
282
282
  module Circle = {
283
283
  type t
@@ -339,7 +339,7 @@ module Clustering = {
339
339
  @send
340
340
  external forEachDataPoint: (t, NoisePoint.t => unit) => unit = "forEachDataPoint"
341
341
  @send
342
- external getBoundingBox: (t, unit) => Geo.Rect.t = "getBoundingBox"
342
+ external getBoundingBox: (t, unit) => Js.Nullable.t<Geo.Rect.t> = "getBoundingBox"
343
343
  @send
344
344
  external getPosition: (t, unit) => Geo.Point.t = "getPosition"
345
345
  @send