@arcgis/lumina 4.33.0-next.12 → 4.33.0-next.120
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/dist/Controller-CZ8Djohh.js +627 -0
- package/dist/LitElement.d.ts +36 -29
- package/dist/config.js +13 -6
- package/dist/context.d.ts +13 -3
- package/dist/controllers/Controller.d.ts +153 -0
- package/dist/controllers/ControllerInternals.d.ts +59 -0
- package/dist/controllers/ControllerManager.d.ts +83 -0
- package/dist/controllers/accessor/index.d.ts +2 -0
- package/dist/controllers/accessor/index.js +259 -0
- package/dist/controllers/accessor/reEmitEvent.d.ts +10 -0
- package/dist/controllers/accessor/useAccessor.d.ts +74 -0
- package/dist/controllers/functional.d.ts +19 -0
- package/dist/controllers/index.d.ts +24 -0
- package/dist/controllers/index.js +267 -0
- package/dist/controllers/load.d.ts +6 -0
- package/dist/controllers/proxyExports.d.ts +27 -0
- package/dist/controllers/tests/autoDestroyMock.d.ts +5 -0
- package/dist/controllers/tests/utils.d.ts +1 -0
- package/dist/controllers/toFunction.d.ts +8 -0
- package/dist/controllers/trackKey.d.ts +8 -0
- package/dist/controllers/trackPropKey.d.ts +21 -0
- package/dist/controllers/trackPropertyKey.d.ts +29 -0
- package/dist/controllers/types.d.ts +152 -0
- package/dist/controllers/useDirection.d.ts +11 -0
- package/dist/controllers/useMedia.d.ts +8 -0
- package/dist/controllers/usePropertyChange.d.ts +14 -0
- package/dist/controllers/useT9n.d.ts +48 -0
- package/dist/controllers/useWatchAttributes.d.ts +7 -0
- package/dist/controllers/utils.d.ts +15 -0
- package/dist/createEvent.d.ts +7 -2
- package/dist/decorators.d.ts +2 -2
- package/dist/devOnlyDetectIncorrectLazyUsages.d.ts +1 -1
- package/dist/hmrSupport.d.ts +1 -1
- package/dist/hmrSupport.js +1 -7
- package/dist/index.d.ts +17 -16
- package/dist/index.js +386 -150
- package/dist/jsx/baseTypes.d.ts +13 -9
- package/dist/jsx/directives.d.ts +25 -7
- package/dist/jsx/generatedTypes.d.ts +420 -90
- package/dist/jsx/types.d.ts +5 -32
- package/dist/lazyLoad.d.ts +18 -18
- package/dist/lifecycleSupport.d.ts +1 -1
- package/dist/makeRuntime.d.ts +109 -0
- package/dist/proxyExports-CK5BLFLO.js +60 -0
- package/dist/render.d.ts +5 -0
- package/dist/runtime.d.ts +4 -107
- package/dist/stencilSsrCompatibility/index.d.ts +2 -6
- package/dist/stencilSsrCompatibility/index.js +2 -3
- package/dist/typings/importMeta.d.ts +2 -2
- package/dist/{chunk-NO7HOBNA.js → utils-CwiifsrO.js} +44 -61
- package/dist/wrappersUtils.d.ts +13 -1
- package/package.json +7 -6
- package/dist/chunk-PGHUBTOM.js +0 -21
- package/dist/wrappersUtils.test.d.ts +0 -1
package/dist/wrappersUtils.d.ts
CHANGED
|
@@ -27,7 +27,19 @@ export declare const makeReactWrapperFactory: (react: unknown, createComponent:
|
|
|
27
27
|
*
|
|
28
28
|
* @private
|
|
29
29
|
*/
|
|
30
|
-
export declare const getReactWrapperOptions: <Element extends HTMLElement, Events extends EventNames>(
|
|
30
|
+
export declare const getReactWrapperOptions: <Element extends HTMLElement, Events extends EventNames>(
|
|
31
|
+
/**
|
|
32
|
+
* We want "Events" type argument to be inferred, but Element type
|
|
33
|
+
* argument to be explicitly specified. That isn't possible until
|
|
34
|
+
* https://github.com/microsoft/TypeScript/issues/26242.
|
|
35
|
+
*
|
|
36
|
+
* As a workaround we are making Element inferred by passing Element type as
|
|
37
|
+
* a tag name:
|
|
38
|
+
* ```ts
|
|
39
|
+
* getReactWrapperOptions("te-st" as HTMLTeStElement, {});
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
tagNameAndElement: Element, events: Events) => Options<Element & {
|
|
31
43
|
class?: string;
|
|
32
44
|
}, Events>;
|
|
33
45
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.120",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
"./typings": {
|
|
14
14
|
"types": "./dist/typings/index.d.ts"
|
|
15
15
|
},
|
|
16
|
+
"./controllers": "./dist/controllers/index.js",
|
|
17
|
+
"./controllers/accessor": "./dist/controllers/accessor/index.js",
|
|
16
18
|
"./package.json": "./package.json"
|
|
17
19
|
},
|
|
18
20
|
"files": [
|
|
@@ -20,13 +22,12 @@
|
|
|
20
22
|
],
|
|
21
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
24
|
"dependencies": {
|
|
23
|
-
"@arcgis/components-
|
|
24
|
-
"@arcgis/components-utils": "4.33.0-next.12",
|
|
25
|
+
"@arcgis/components-utils": "4.33.0-next.120",
|
|
25
26
|
"@lit-labs/ssr": "^3.2.2",
|
|
26
27
|
"@lit-labs/ssr-client": "^1.1.7",
|
|
27
|
-
"@lit/context": "^1.1.
|
|
28
|
+
"@lit/context": "^1.1.5",
|
|
28
29
|
"csstype": "^3.1.3",
|
|
29
|
-
"lit": "^3.
|
|
30
|
-
"tslib": "^2.
|
|
30
|
+
"lit": "^3.3.0",
|
|
31
|
+
"tslib": "^2.8.1"
|
|
31
32
|
}
|
|
32
33
|
}
|
package/dist/chunk-PGHUBTOM.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// src/config.ts
|
|
2
|
-
var lazyMetaGroupJoiner = ";";
|
|
3
|
-
var lazyMetaItemJoiner = ",";
|
|
4
|
-
var lazyMetaSubItemJoiner = ":";
|
|
5
|
-
var PropertyFlags = /* @__PURE__ */ ((PropertyFlags2) => {
|
|
6
|
-
PropertyFlags2[PropertyFlags2["ATTRIBUTE"] = 1] = "ATTRIBUTE";
|
|
7
|
-
PropertyFlags2[PropertyFlags2["REFLECT"] = 2] = "REFLECT";
|
|
8
|
-
PropertyFlags2[PropertyFlags2["BOOLEAN"] = 4] = "BOOLEAN";
|
|
9
|
-
PropertyFlags2[PropertyFlags2["NUMBER"] = 8] = "NUMBER";
|
|
10
|
-
PropertyFlags2[PropertyFlags2["STATE"] = 16] = "STATE";
|
|
11
|
-
PropertyFlags2[PropertyFlags2["READ_ONLY"] = 32] = "READ_ONLY";
|
|
12
|
-
PropertyFlags2[PropertyFlags2["NO_ACCESSOR"] = 64] = "NO_ACCESSOR";
|
|
13
|
-
return PropertyFlags2;
|
|
14
|
-
})(PropertyFlags || {});
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
lazyMetaGroupJoiner,
|
|
18
|
-
lazyMetaItemJoiner,
|
|
19
|
-
lazyMetaSubItemJoiner,
|
|
20
|
-
PropertyFlags
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|