react-ui89 0.19.0 → 0.19.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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Runs the function the moment that this function is called.
3
+ *
4
+ * Sounds similar to useEffect(cb, []) but it actually is not. Unlike
5
+ * useEffect, this function will be called immediately.
6
+ */
7
+ export declare function useOnce(cb: () => void): void;
@@ -1,5 +1,9 @@
1
1
  export declare function throttledTimeout(): {
2
2
  call(delay: number, f: () => void): void;
3
+ /**
4
+ * If there is a call that has been scheduled, remove it from the queue.
5
+ */
6
+ abort(): void;
3
7
  };
4
8
  export declare function spacedTimeout(): {
5
9
  call(delay: number, f: () => void): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-ui89",
3
3
  "description": "A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.",
4
- "version": "0.19.0",
4
+ "version": "0.19.2",
5
5
  "author": "Daniel Araujo",
6
6
  "module": "dist/esm/index.js",
7
7
  "files": [