@colisweb/rescript-toolkit 5.16.4 → 5.16.6

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.16.4",
3
+ "version": "5.16.6",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -275,11 +275,12 @@ let mutateWithParams = (
275
275
  ),
276
276
  argument: argument,
277
277
  params,
278
+ revalidate: bool,
278
279
  ) => {
279
280
  let module(Config) = config
280
281
  swrConfig->Swr.SwrConfig.mutateByKeyWithParams(
281
282
  Array(Config.config(argument).key->Option.getUnsafe),
282
283
  params,
283
- false,
284
+ revalidate,
284
285
  )
285
286
  }
@@ -21,6 +21,16 @@ module.exports = {
21
21
  lg: "repeat(auto-fit, minmax(28rem, 1fr))",
22
22
  xl: "repeat(auto-fit, minmax(36rem, 1fr))",
23
23
  },
24
+ animation: {
25
+ backforth: "backforth 2s ease-in-out infinite",
26
+ },
27
+ keyframes: {
28
+ backforth: {
29
+ "0%": { left: "0px" },
30
+ "50%": { left: "100%" },
31
+ "100%": { left: "0px" },
32
+ },
33
+ },
24
34
  },
25
35
  screens: {
26
36
  sm: "640px",