@enact/core 4.0.9 → 4.0.10
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 +4 -0
- package/hoc/hoc.d.ts +2 -1
- package/package.json +1 -1
- package/snapshot/snapshot.d.ts +4 -2
- package/util/util.d.ts +4 -4
package/CHANGELOG.md
CHANGED
package/hoc/hoc.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ a factory method that accepts instance configuration parameters and a component
|
|
|
9
9
|
returned function can accept:
|
|
10
10
|
* * an instance config and a component constructor to wrap and return a renderable component, or
|
|
11
11
|
* * an instance config only and return a decorator function expecting a component constructor
|
|
12
|
-
|
|
12
|
+
*
|
|
13
|
+
* (like the next bullet), or
|
|
13
14
|
* * a component constructor and return a renderable component
|
|
14
15
|
*
|
|
15
16
|
* Example:
|
package/package.json
CHANGED
package/snapshot/snapshot.d.ts
CHANGED
|
@@ -16,9 +16,11 @@ and is executed in order once the window is available.
|
|
|
16
16
|
*
|
|
17
17
|
* _Important Notes_
|
|
18
18
|
* * The callback should not alter the initial HTML state. If it does, it will invalidate the
|
|
19
|
-
|
|
19
|
+
*
|
|
20
|
+
* pre-render state and interfere with React rehydration.
|
|
20
21
|
* * The callback should be limited to module-scoped actions and not component instance actions. If
|
|
21
|
-
|
|
22
|
+
*
|
|
23
|
+
* the action is tied to a component, it should be invoked from within the component's lifecycle
|
|
22
24
|
methods.
|
|
23
25
|
*/
|
|
24
26
|
export function onWindowReady(callback: Function): void;
|
package/util/util.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
export declare class Job {
|
|
11
|
-
constructor
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
constructor
|
|
12
|
+
/**
|
|
13
|
+
* Function to execute as the requested job.
|
|
14
|
+
*/(
|
|
15
15
|
fn: Function
|
|
16
16
|
/**
|
|
17
17
|
* The number of milliseconds to wait before starting the job.
|