@arcgis/lumina 4.34.0-next.70 → 4.34.0-next.72
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.
|
@@ -8,8 +8,6 @@ import { LitElement } from '../LitElement';
|
|
|
8
8
|
* Defining controller using makeController() function is more succinct for smaller
|
|
9
9
|
* controllers. For controllers that need to declare several methods, or need
|
|
10
10
|
* more flexibility, this class may be used
|
|
11
|
-
*
|
|
12
|
-
* See ./examples.tsx for many example controllers and their usages.
|
|
13
11
|
*/
|
|
14
12
|
export declare abstract class Controller<Exports = never> implements BaseController {
|
|
15
13
|
#private;
|
|
@@ -42,7 +42,7 @@ type InferController<ControllerOrExports> = ControllerOrExports extends BaseCont
|
|
|
42
42
|
watchExports?: Controller["watchExports"];
|
|
43
43
|
} : Controller<ControllerOrExports>;
|
|
44
44
|
/**
|
|
45
|
-
* If controller never sets
|
|
45
|
+
* If controller never sets its exports, then its default exports is "this".
|
|
46
46
|
* This allows usage of controller.use with controllers that don't have exports
|
|
47
47
|
*/
|
|
48
48
|
type NotNever<T extends {
|
|
@@ -12,7 +12,7 @@ const makeGenericController = (constructor) => (component) => proxy(
|
|
|
12
12
|
component,
|
|
13
13
|
/**
|
|
14
14
|
* GenericController is identical to Controller, in all except for typing.
|
|
15
|
-
* So
|
|
15
|
+
* So doing a type-cast here so as not to needlessly add one more object
|
|
16
16
|
* to the prototype chain
|
|
17
17
|
*/
|
|
18
18
|
constructor
|
package/dist/makeRuntime.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ export type RuntimeOptions = {
|
|
|
102
102
|
*/
|
|
103
103
|
readonly defaultAssetPath: string;
|
|
104
104
|
/**
|
|
105
|
-
* The attribute that indicates a component has rendered
|
|
105
|
+
* The attribute that indicates a component has rendered its content.
|
|
106
106
|
* Usually this attribute is added after your component's `loaded()` lifecycle
|
|
107
107
|
* happened. However, during SSR, "hydrated" is added right away on the
|
|
108
108
|
* server.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.72",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcgis/toolkit": "4.34.0-next.
|
|
25
|
+
"@arcgis/toolkit": "4.34.0-next.72",
|
|
26
26
|
"csstype": "^3.1.3",
|
|
27
27
|
"tslib": "^2.8.1"
|
|
28
28
|
},
|