@arcgis/lumina 4.34.0-next.45 → 4.34.0-next.47
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/index.d.ts +0 -9
- package/dist/index.js +1 -6
- package/package.json +11 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { useContextProvider as useContextProviderImplementation, useContextConsumer as useContextConsumerImplementation } from './context';
|
|
2
1
|
export type { EventEmitter, EventOptions } from './createEvent';
|
|
3
2
|
export { createEvent } from './createEvent';
|
|
4
3
|
export { state, property, method } from './decorators';
|
|
@@ -15,11 +14,3 @@ export { nothing, noChange, setAttribute, stringOrBoolean } from './jsx/utils';
|
|
|
15
14
|
export { noShadowRoot, devOnly$getLitElementTagNameAndRuntime } from './utils';
|
|
16
15
|
export { makeReactWrapperFactory, getReactWrapperOptions } from './wrappersUtils';
|
|
17
16
|
export { renderElement } from './render';
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Use `useContextProvider` from `@arcgis/lumina/context` instead.
|
|
20
|
-
*/
|
|
21
|
-
export declare const useContextProvider: typeof useContextProviderImplementation;
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Use `useContextConsumer` from `@arcgis/lumina/context` instead.
|
|
24
|
-
*/
|
|
25
|
-
export declare const useContextConsumer: typeof useContextConsumerImplementation;
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,6 @@ import { styleMap } from "lit/directives/style-map.js";
|
|
|
13
13
|
import { directive as directive$1, Directive } from "lit-html/directive.js";
|
|
14
14
|
import { live as live$1 } from "lit-html/directives/live.js";
|
|
15
15
|
import { nothing as nothing$2, noChange as noChange$2, render } from "lit-html";
|
|
16
|
-
import { useContextProvider as useContextProvider$1, useContextConsumer as useContextConsumer$1 } from "./context.js";
|
|
17
16
|
const property = property$1;
|
|
18
17
|
const method = void 0;
|
|
19
18
|
class ControllerManager extends GenericController {
|
|
@@ -642,8 +641,6 @@ const renderElement = (element) => {
|
|
|
642
641
|
render(element, container);
|
|
643
642
|
return container.firstElementChild;
|
|
644
643
|
};
|
|
645
|
-
const useContextProvider = useContextProvider$1;
|
|
646
|
-
const useContextConsumer = useContextConsumer$1;
|
|
647
644
|
export {
|
|
648
645
|
Fragment,
|
|
649
646
|
LitElement,
|
|
@@ -671,7 +668,5 @@ export {
|
|
|
671
668
|
safeStyleMap,
|
|
672
669
|
setAttribute,
|
|
673
670
|
state,
|
|
674
|
-
stringOrBoolean
|
|
675
|
-
useContextConsumer,
|
|
676
|
-
useContextProvider
|
|
671
|
+
stringOrBoolean
|
|
677
672
|
};
|
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.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -22,10 +22,17 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcgis/components-utils": "4.34.0-next.
|
|
26
|
-
"@lit/context": "^1.1.5",
|
|
25
|
+
"@arcgis/components-utils": "4.34.0-next.47",
|
|
27
26
|
"csstype": "^3.1.3",
|
|
28
|
-
"lit": "^3.3.0",
|
|
29
27
|
"tslib": "^2.8.1"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@lit/context": "^1.1.5",
|
|
31
|
+
"lit": "^3.3.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependenciesMeta": {
|
|
34
|
+
"@lit/context": {
|
|
35
|
+
"optional": true
|
|
36
|
+
}
|
|
30
37
|
}
|
|
31
38
|
}
|