@colisweb/rescript-toolkit 4.10.3 → 4.10.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": "4.10.3",
3
+ "version": "4.10.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -30,9 +30,9 @@
30
30
  "@colisweb/bs-react-intl-extractor-bin": "0.12.2",
31
31
  "@colisweb/react-day-picker": "7.4.16",
32
32
  "@colisweb/restorative": "1.0.0",
33
- "@datadog/browser-rum": "4.44.0",
34
- "@headlessui/react": "1.7.15",
35
- "@headlessui/tailwindcss": "0.1.3",
33
+ "@datadog/browser-rum": "4.46.0",
34
+ "@headlessui/react": "1.7.16",
35
+ "@headlessui/tailwindcss": "0.2.0",
36
36
  "@reach/auto-id": "0.18.0",
37
37
  "@rescript/react": "0.11.0",
38
38
  "autoprefixer": "10.4.14",
@@ -47,7 +47,7 @@
47
47
  "lenses-ppx": "6.1.10",
48
48
  "list-selectors": "2.0.1",
49
49
  "lodash": "4.17.21",
50
- "postcss": "8.4.24",
50
+ "postcss": "8.4.27",
51
51
  "postcss-preset-env": "8.0.1",
52
52
  "prismjs": "1.29.0",
53
53
  "react": "18.2.0",
@@ -59,7 +59,7 @@
59
59
  "react-icons": "4.10.1",
60
60
  "react-intl": "6.4.4",
61
61
  "react-portal": "4.2.2",
62
- "react-select": "5.7.3",
62
+ "react-select": "5.7.4",
63
63
  "react-table": "7.8.0",
64
64
  "react-use": "17.4.0",
65
65
  "reason-promise": "1.1.5",
@@ -69,17 +69,17 @@
69
69
  "rescript-react-update": "5.0.0",
70
70
  "sanitize-html": "1.27.4",
71
71
  "swr": "2.2.0",
72
- "tailwindcss": "3.3.2",
72
+ "tailwindcss": "3.3.3",
73
73
  "use-local-storage-state": "18.3.3"
74
74
  },
75
75
  "devDependencies": {
76
- "@babel/core": "7.22.6",
76
+ "@babel/core": "7.22.9",
77
77
  "@jihchi/vite-plugin-rescript": "5.3.0",
78
78
  "@mdx-js/mdx": "2.3.0",
79
79
  "@mdx-js/react": "2.3.0",
80
80
  "@mdx-js/rollup": "2.3.0",
81
- "@originjs/vite-plugin-commonjs": "^1.0.3",
82
- "@vitejs/plugin-react": "4.0.1",
81
+ "@originjs/vite-plugin-commonjs": "1.0.3",
82
+ "@vitejs/plugin-react": "4.0.3",
83
83
  "babel-loader": "8.2.5",
84
84
  "highlight.js": "11.8.0",
85
85
  "husky": "8.0.3",
@@ -90,8 +90,8 @@
90
90
  "rehype-autolink-headings": "^6.1.1",
91
91
  "rehype-highlight": "^6.0.0",
92
92
  "rehype-slug": "^5.1.0",
93
- "sass": "1.63.6",
94
- "vite": "4.3.9"
93
+ "sass": "1.64.1",
94
+ "vite": "4.4.7"
95
95
  },
96
96
  "packageManager": "yarn@3.3.1"
97
97
  }
@@ -1,6 +1,7 @@
1
1
  @react.component
2
2
  let make = React.forwardRef((
3
3
  ~id: string,
4
+ ~accept: option<string>=?,
4
5
  ~name: option<string>=?,
5
6
  ~value: option<string>=?,
6
7
  ~defaultValue: option<string>=?,
@@ -34,6 +35,7 @@ let make = React.forwardRef((
34
35
  isInvalid->Option.getWithDefault(false) ? "border-danger-500 shadow-danger-500" : "",
35
36
  ])}
36
37
  id
38
+ ?accept
37
39
  ?style
38
40
  ?name
39
41
  ?value