@arcgis/lumina 5.0.0-next.7 → 5.0.0-next.70

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.
Files changed (40) hide show
  1. package/dist/LitElement.d.ts +6 -6
  2. package/dist/controllers/Controller.d.ts +3 -3
  3. package/dist/controllers/ControllerInternals.d.ts +5 -5
  4. package/dist/controllers/ControllerManager.d.ts +3 -3
  5. package/dist/controllers/accessor/index.d.ts +4 -4
  6. package/dist/controllers/accessor/reEmitEvent.d.ts +1 -1
  7. package/dist/controllers/accessor/store.d.ts +1 -1
  8. package/dist/controllers/accessor/useAccessor.d.ts +3 -3
  9. package/dist/controllers/functional.d.ts +2 -2
  10. package/dist/controllers/index.d.ts +20 -20
  11. package/dist/controllers/index.js +6 -4
  12. package/dist/controllers/load.d.ts +1 -1
  13. package/dist/controllers/proxyExports.d.ts +2 -2
  14. package/dist/controllers/trackKey.d.ts +2 -2
  15. package/dist/controllers/trackPropKey.d.ts +1 -1
  16. package/dist/controllers/trackPropertyKey.d.ts +2 -2
  17. package/dist/controllers/types.d.ts +1 -1
  18. package/dist/controllers/useDirection.d.ts +1 -1
  19. package/dist/controllers/useMedia.d.ts +1 -1
  20. package/dist/controllers/usePropertyChange.d.ts +3 -3
  21. package/dist/controllers/useT9n.d.ts +1 -1
  22. package/dist/controllers/useWatchAttributes.d.ts +2 -2
  23. package/dist/controllers/utils.d.ts +2 -2
  24. package/dist/createEvent.d.ts +1 -1
  25. package/dist/decorators.d.ts +1 -1
  26. package/dist/devOnlyDetectIncorrectLazyUsages.d.ts +1 -1
  27. package/dist/index.d.ts +16 -16
  28. package/dist/index.js +1 -1
  29. package/dist/jsx/baseTypes.d.ts +4 -4
  30. package/dist/jsx/directives.d.ts +3 -3
  31. package/dist/jsx/generatedTypes.d.ts +817 -539
  32. package/dist/jsx/types.d.ts +2 -2
  33. package/dist/lazyLoad.d.ts +3 -3
  34. package/dist/lifecycleSupport.d.ts +1 -1
  35. package/dist/makeRuntime.d.ts +2 -2
  36. package/dist/render.d.ts +1 -1
  37. package/dist/runtime.d.ts +2 -2
  38. package/dist/typings/jsxGlobals.d.ts +1 -1
  39. package/dist/utils.d.ts +12 -7
  40. package/package.json +4 -3
@@ -1,7 +1,7 @@
1
1
  import { TemplateResult } from 'lit';
2
2
  import { DirectiveResult } from 'lit/directive.js';
3
- import { HTMLElementTags, HTMLAttributes, GlobalEventHandlersCamelCase, SvgElementTags, DOMAttributes, AriaAttributes } from './generatedTypes';
4
- import { CustomAttributes } from './baseTypes';
3
+ import { HTMLElementTags, HTMLAttributes, GlobalEventHandlersCamelCase, SvgElementTags, DOMAttributes, AriaAttributes } from './generatedTypes.ts';
4
+ import { CustomAttributes } from './baseTypes.ts';
5
5
  /**
6
6
  * The "h" namespace is used to import JSX types for elements and attributes.
7
7
  * It is imported in order to avoid conflicting global JSX issues.
@@ -1,7 +1,7 @@
1
1
  import { Deferred } from '@arcgis/toolkit/promise';
2
- import { LitElement } from './LitElement';
3
- import { Runtime } from './makeRuntime';
4
- import { ControllerManager } from './controllers/ControllerManager';
2
+ import { LitElement } from './LitElement.ts';
3
+ import { Runtime } from './makeRuntime.ts';
4
+ import { ControllerManager } from './controllers/ControllerManager.ts';
5
5
  /**
6
6
  * Defines lazy-loading proxy components for all web components in this package.
7
7
  *
@@ -1,4 +1,4 @@
1
- import { ProxyComponent } from './lazyLoad';
1
+ import { ProxyComponent } from './lazyLoad.ts';
2
2
  /**
3
3
  * If there is a parent component, tell it to await it's loaded() until we
4
4
  * completed load().
@@ -1,6 +1,6 @@
1
1
  import { CSSResult } from 'lit';
2
- import { LitElement } from './LitElement';
3
- import { AccessorObservableLike, ReactiveTrackingTarget } from './controllers/types';
2
+ import { LitElement } from './LitElement.ts';
3
+ import { AccessorObservableLike, ReactiveTrackingTarget } from './controllers/types.ts';
4
4
  /**
5
5
  * `@arcgis/lumina` package may be bundled once but used by multiple packages with
6
6
  * different configuration options. For that reason, the configuration options
package/dist/render.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { JsxNode } from './jsx/types';
1
+ import { JsxNode } from './jsx/types.ts';
2
2
  /**
3
3
  * Retrieve an HTML element to be manually appended to an existing component.
4
4
  *
package/dist/runtime.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export declare const runtime: import('./makeRuntime').Runtime;
1
+ export declare const runtime: import('./makeRuntime.ts').Runtime;
2
2
  /**
3
3
  * "customElement" needs to be exported - it will be used by the build system.
4
4
  * You should not call it directly.
5
5
  */
6
- export declare const customElement: (tagName: string, component: typeof import('./LitElement').LitElement) => void;
6
+ export declare const customElement: (tagName: string, component: typeof import('./LitElement.ts').LitElement) => void;
@@ -33,7 +33,7 @@ export interface DeclareElements extends globalThis.DeclareElements {
33
33
  * global typings with this interface - thus we use namespace merging to
34
34
  * extend the namespaced DeclareElements based on the global DeclareElements.
35
35
  */
36
- declare module "../jsx/types" {
36
+ declare module "../jsx/types.ts" {
37
37
  interface DeclareElements extends globalThis.DeclareElements {
38
38
  }
39
39
  }
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { LitElement } from './LitElement';
2
- import { Runtime } from './makeRuntime';
1
+ import { LitElement } from './LitElement.ts';
2
+ import { Runtime } from './makeRuntime.ts';
3
3
  /**
4
4
  * Add this static property to your component to disable shadow root.
5
5
  *
@@ -12,16 +12,21 @@ import { Runtime } from './makeRuntime';
12
12
  * ```ts
13
13
  * static override shadowRootOptions = noShadowRoot;
14
14
  * ```
15
- */
16
- export declare const noShadowRoot: ShadowRootInit;
17
- /**
18
- * The above property is an empty object at runtime for bundle size reasons.
15
+ *
16
+ * @privateRemarks
17
+ * This property is an empty object at runtime for bundle size reasons.
19
18
  * While empty object is not a valid shadowRootOption, it is never passed to
20
19
  * attachShadow() since we use this exact empty object as a magic value to opt
21
20
  * out of shadow root.
22
21
  */
22
+ export declare const noShadowRoot: ShadowRootInit;
23
23
  export declare function emptyFunction(): undefined;
24
- /** @private */
24
+ /**
25
+ * Exposed as a dev-only util for use by Lumina's mount() test helper. We need
26
+ * to expose a wrapper util because private properties are mangled and so cannot
27
+ * be reliably accessed outside the package.
28
+ * @private
29
+ */
25
30
  export declare const devOnly$getLitElementTagNameAndRuntime: ((componentClass: typeof LitElement) => {
26
31
  tagName: string;
27
32
  runtime: Runtime;
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "5.0.0-next.7",
3
+ "version": "5.0.0-next.70",
4
+ "sideEffects": false,
4
5
  "type": "module",
5
6
  "main": "dist/index.cjs",
6
7
  "module": "dist/index.js",
@@ -22,12 +23,12 @@
22
23
  ],
23
24
  "license": "SEE LICENSE IN LICENSE.md",
24
25
  "dependencies": {
25
- "@arcgis/toolkit": "~5.0.0-next.7",
26
+ "@arcgis/toolkit": "~5.0.0-next.70",
26
27
  "csstype": "^3.1.3",
27
28
  "tslib": "^2.8.1"
28
29
  },
29
30
  "peerDependencies": {
30
- "@lit/context": "^1.1.5",
31
+ "@lit/context": "^1.1.6",
31
32
  "lit": "^3.3.0"
32
33
  },
33
34
  "peerDependenciesMeta": {