@reykjavik/webtools 0.1.21 → 0.1.22
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/CHANGELOG.md +7 -1
- package/esm/remix/Wait.d.ts +2 -2
- package/package.json +1 -1
- package/remix/Wait.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
- ... <!-- Add new lines here. -->
|
|
6
6
|
|
|
7
|
+
## 0.1.22
|
|
8
|
+
|
|
9
|
+
_2024-03-14_
|
|
10
|
+
|
|
11
|
+
- fix: Relax unnecessary restriction on fallback props
|
|
12
|
+
|
|
7
13
|
## 0.1.21
|
|
8
14
|
|
|
9
15
|
_2024-03-14_
|
|
@@ -11,7 +17,7 @@ _2024-03-14_
|
|
|
11
17
|
- feat: Add `@reykjavik/webtools/remix/Wait` component
|
|
12
18
|
- feat: Add `@reykjavik/webtools/remix/http` module — with `isClientFetch`
|
|
13
19
|
helper
|
|
14
|
-
- feat: Add `@reykjavik/webtools/
|
|
20
|
+
- feat: Add `@reykjavik/webtools/async` module with promise helpers
|
|
15
21
|
|
|
16
22
|
## 0.1.18 – 0.1.20
|
|
17
23
|
|
package/esm/remix/Wait.d.ts
CHANGED
|
@@ -18,12 +18,12 @@ type WaitFallbacks = {
|
|
|
18
18
|
/**
|
|
19
19
|
* Custom loading/spinner component.
|
|
20
20
|
*/
|
|
21
|
-
meanwhile?:
|
|
21
|
+
meanwhile?: ReactNode;
|
|
22
22
|
/**
|
|
23
23
|
* Custom error component if the promise is rejected or if it resolves to an
|
|
24
24
|
* object with an `error` property.
|
|
25
25
|
*/
|
|
26
|
-
error?:
|
|
26
|
+
error?: ReactNode;
|
|
27
27
|
};
|
|
28
28
|
export type WaitProps<T> = WaitPropsBase<T> & WaitFallbacks;
|
|
29
29
|
/**
|
package/package.json
CHANGED
package/remix/Wait.d.ts
CHANGED
|
@@ -18,12 +18,12 @@ type WaitFallbacks = {
|
|
|
18
18
|
/**
|
|
19
19
|
* Custom loading/spinner component.
|
|
20
20
|
*/
|
|
21
|
-
meanwhile?:
|
|
21
|
+
meanwhile?: ReactNode;
|
|
22
22
|
/**
|
|
23
23
|
* Custom error component if the promise is rejected or if it resolves to an
|
|
24
24
|
* object with an `error` property.
|
|
25
25
|
*/
|
|
26
|
-
error?:
|
|
26
|
+
error?: ReactNode;
|
|
27
27
|
};
|
|
28
28
|
export type WaitProps<T> = WaitPropsBase<T> & WaitFallbacks;
|
|
29
29
|
/**
|