@colisweb/rescript-toolkit 5.40.3 → 5.40.4

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.40.3",
3
+ "version": "5.40.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -26,6 +26,7 @@ let make = (
26
26
  ~className: string="",
27
27
  ~style: option<ReactDOM.style>=?,
28
28
  ~inputRef=?,
29
+ ~pattern=?,
29
30
  ) =>
30
31
  <input
31
32
  ref=?{inputRef->Option.map(ReactDOM.Ref.domRef)}
@@ -35,6 +36,7 @@ let make = (
35
36
  isInvalid->Option.getWithDefault(false) ? "border-danger-500 shadow-danger-500" : "",
36
37
  ])}
37
38
  id
39
+ ?pattern
38
40
  ?accept
39
41
  ?style
40
42
  ?name