@colisweb/rescript-toolkit 5.37.0 → 5.37.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.37.0",
3
+ "version": "5.37.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -6239,3 +6239,28 @@ module FaSync = {
6239
6239
  @module("react-icons/fa") @react.component
6240
6240
  external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element = "FaSync"
6241
6241
  }
6242
+ module FaInstagram = {
6243
+ @module("react-icons/fa6") @react.component
6244
+ external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
6245
+ "FaInstagram"
6246
+ }
6247
+ module FaFacebook = {
6248
+ @module("react-icons/fa6") @react.component
6249
+ external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
6250
+ "FaFacebook"
6251
+ }
6252
+ module FaXTwitter = {
6253
+ @module("react-icons/fa6") @react.component
6254
+ external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
6255
+ "FaXTwitter"
6256
+ }
6257
+ module FaYoutube = {
6258
+ @module("react-icons/fa6") @react.component
6259
+ external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
6260
+ "FaYoutube"
6261
+ }
6262
+ module FaLinkedin = {
6263
+ @module("react-icons/fa6") @react.component
6264
+ external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
6265
+ "FaLinkedin"
6266
+ }
@@ -87,7 +87,11 @@ and instanceCell = {
87
87
  render: (string, unit) => React.element,
88
88
  }
89
89
 
90
- type rec filterProps<'filterValue> = {column: filterColumn<'filterValue>, state: state}
90
+ type rec filterProps<'filterValue, 'filter> = {
91
+ column: filterColumn<'filterValue>,
92
+ state: state,
93
+ setFilter: (string, 'filter) => unit,
94
+ }
91
95
  and filterColumn<'filterValue> = {
92
96
  filterValue: option<'filterValue>,
93
97
  setFilter: option<'filterValue> => unit,
@@ -99,7 +103,7 @@ external makeColumn: (
99
103
  ~accessor: 'data => 'cellValue,
100
104
  ~id: string,
101
105
  ~header: React.element,
102
- ~filterRender: filterProps<'filterValue> => React.element=?,
106
+ ~filterRender: filterProps<'filterValue, 'filter> => React.element=?,
103
107
  ~filter: string=?,
104
108
  ~cell: cellProps<'cellValue> => React.element=?,
105
109
  ~minWidth: int=?,