@arcgis/lumina 4.32.0-next.1 → 4.32.0-next.11

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.
@@ -36,6 +36,9 @@ export declare class LitElement extends OriginalLitElement implements ComponentL
36
36
  /** @internal */
37
37
  static runtime: Runtime;
38
38
  static tagName: string;
39
+ /**
40
+ * Customize Lit's default style handling to support non-shadow-root styles
41
+ */
39
42
  static finalizeStyles(styles?: CSSResultGroup): CSSResultOrNative[];
40
43
  static createProperty(name: PropertyKey,
41
44
  /**
@@ -2,9 +2,6 @@
2
2
  var lazyMetaGroupJoiner = ";";
3
3
  var lazyMetaItemJoiner = ",";
4
4
  var lazyMetaSubItemJoiner = ":";
5
- var defaultEventBubbles = true;
6
- var defaultEventCancelable = true;
7
- var defaultEventComposed = true;
8
5
  var PropertyFlags = /* @__PURE__ */ ((PropertyFlags2) => {
9
6
  PropertyFlags2[PropertyFlags2["ATTRIBUTE"] = 1] = "ATTRIBUTE";
10
7
  PropertyFlags2[PropertyFlags2["REFLECT"] = 2] = "REFLECT";
@@ -20,8 +17,5 @@ export {
20
17
  lazyMetaGroupJoiner,
21
18
  lazyMetaItemJoiner,
22
19
  lazyMetaSubItemJoiner,
23
- defaultEventBubbles,
24
- defaultEventCancelable,
25
- defaultEventComposed,
26
20
  PropertyFlags
27
21
  };
package/dist/config.d.ts CHANGED
@@ -6,14 +6,6 @@
6
6
  export declare const lazyMetaGroupJoiner = ";";
7
7
  export declare const lazyMetaItemJoiner = ",";
8
8
  export declare const lazyMetaSubItemJoiner = ":";
9
- /**
10
- * While these defaults don't match DOM defaults (all false), they match
11
- * Stencil and Shoelace defaults. Also, they make more sense for our
12
- * usage (i.e why would you want events to not be cancelable by default?)
13
- */
14
- export declare const defaultEventBubbles = true;
15
- export declare const defaultEventCancelable = true;
16
- export declare const defaultEventComposed = true;
17
9
  /**
18
10
  * By default in Lit, the `@property()` decorator accepts an object. However, to
19
11
  * keep the bundle size smaller, in production builds, instead of passing it an
package/dist/config.js CHANGED
@@ -1,17 +1,11 @@
1
1
  import {
2
2
  PropertyFlags,
3
- defaultEventBubbles,
4
- defaultEventCancelable,
5
- defaultEventComposed,
6
3
  lazyMetaGroupJoiner,
7
4
  lazyMetaItemJoiner,
8
5
  lazyMetaSubItemJoiner
9
- } from "./chunk-CH52Q2MB.js";
6
+ } from "./chunk-PGHUBTOM.js";
10
7
  export {
11
8
  PropertyFlags,
12
- defaultEventBubbles,
13
- defaultEventCancelable,
14
- defaultEventComposed,
15
9
  lazyMetaGroupJoiner,
16
10
  lazyMetaItemJoiner,
17
11
  lazyMetaSubItemJoiner
@@ -1,4 +1,9 @@
1
- import type { EventEmitter } from "@arcgis/components-controllers";
1
+ import type { BaseComponent, EventEmitter } from "@arcgis/components-controllers";
2
+ /**
3
+ * While these defaults don't match DOM defaults (all false), they match
4
+ * Stencil and Shoelace defaults. Also, they make more sense for our
5
+ * usage (i.e why would you want events to not be cancelable by default?)
6
+ */
2
7
  export type EventOptions = {
3
8
  /**
4
9
  * A Boolean indicating whether the event bubbles up through the DOM or not.
@@ -22,7 +27,7 @@ export type EventOptions = {
22
27
  */
23
28
  composed?: boolean;
24
29
  };
25
- export declare const createEventFactory: <T = undefined>(eventName?: string, options?: EventOptions, component?: import("@arcgis/components-controllers").BaseComponent) => EventEmitter<T>;
30
+ export declare const createEventFactory: <T = undefined>(eventName?: string, options?: EventOptions, component?: BaseComponent) => EventEmitter<T>;
26
31
  /**
27
32
  * Creates an event emitter.
28
33
  * Events emitted by your component will be included in the documentation.
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export type { PublicLitElement } from "./PublicLitElement";
10
10
  export type { Runtime, RuntimeOptions, DevOnlyGlobalRuntime, DevOnlyGlobalComponentRefCallback } from "./runtime";
11
11
  export { makeRuntime } from "./runtime";
12
12
  export * from "./jsx/jsx";
13
- export { safeClassMap, safeStyleMap, directive, dynamicValueDirective, live } from "./jsx/directives";
13
+ export { safeClassMap, safeStyleMap, directive, live } from "./jsx/directives";
14
14
  export { nothing, noChange, setAttribute, stringOrBoolean } from "./jsx/utils";
15
15
  export { noShadowRoot } from "./utils";
16
16
  export { createPrototypeProxy } from "./wrappersUtils";
package/dist/index.js CHANGED
@@ -1,32 +1,30 @@
1
1
  import {
2
- defaultEventBubbles,
3
- defaultEventCancelable,
4
- defaultEventComposed,
5
2
  lazyMetaGroupJoiner,
6
3
  lazyMetaItemJoiner,
7
4
  lazyMetaSubItemJoiner
8
- } from "./chunk-CH52Q2MB.js";
5
+ } from "./chunk-PGHUBTOM.js";
9
6
 
10
7
  // src/createEvent.ts
11
- import { retrieveComponent, trackPropertyKey } from "@arcgis/components-controllers";
8
+ import { retrieveComponent, trackPropertyKey, keyTrackResolve } from "@arcgis/components-controllers";
12
9
  var createEventFactory = (eventName = "", options = {}, component = retrieveComponent()) => {
13
10
  const emitter = {
14
11
  emit: (payload) => {
15
- if (process.env.NODE_ENV !== "production") {
16
- if (eventName === "") {
12
+ if (process.env.NODE_ENV !== "production" && !component.el.isConnected) {
13
+ console.warn(
14
+ `Trying to emit an ${eventName} event on a disconnected element ${component.el.tagName.toLowerCase()}`
15
+ );
16
+ }
17
+ if (eventName === "") {
18
+ keyTrackResolve();
19
+ if (process.env.NODE_ENV !== "production" && eventName === "") {
17
20
  throw new Error("Unable to resolve event name from property name");
18
21
  }
19
- if (!component.el.isConnected) {
20
- console.warn(
21
- `Trying to emit an ${eventName} event on a disconnected element ${component.el.tagName.toLowerCase()}`
22
- );
23
- }
24
22
  }
25
23
  const event = new CustomEvent(eventName, {
26
24
  detail: payload,
27
- cancelable: defaultEventCancelable,
28
- bubbles: defaultEventBubbles,
29
- composed: defaultEventComposed,
25
+ cancelable: true,
26
+ bubbles: true,
27
+ composed: true,
30
28
  ...options
31
29
  });
32
30
  component.el.dispatchEvent(event);
@@ -211,8 +209,10 @@ var ProxyComponent = class extends HtmlElement {
211
209
  this._initializeComponent({ a: ProxyClass._LitConstructor });
212
210
  } else {
213
211
  void ProxyClass._loadPromise.then(this._initializeComponent.bind(this)).catch((error) => {
214
- console.error(error);
215
212
  this._postLoaded.reject(error);
213
+ setTimeout(() => {
214
+ throw error;
215
+ });
216
216
  });
217
217
  }
218
218
  if (process.env.NODE_ENV !== "production") {
@@ -346,7 +346,7 @@ var ProxyComponent = class extends HtmlElement {
346
346
  */
347
347
  async componentOnReady() {
348
348
  await this._postLoaded.promise;
349
- return this._litElement;
349
+ return this;
350
350
  }
351
351
  /** @internal */
352
352
  _initializeComponent(module) {
@@ -500,10 +500,11 @@ function handleComponentMetaUpdate(meta) {
500
500
  return;
501
501
  }
502
502
  const attributes = meta.properties.map(([property2, attribute]) => attribute ?? camelToKebab2(property2)).filter(Boolean);
503
+ const observedAttributes = initializeAttributeObserver();
503
504
  observedAttributes[meta.tagName] ??= {};
504
505
  observedAttributes[meta.tagName].original ??= new Set(ProxyClass.observedAttributes);
505
506
  const originallyObserved = observedAttributes[meta.tagName].original;
506
- observedAttributes[meta.tagName].manuallyObserved ??= new Set(
507
+ observedAttributes[meta.tagName].manuallyObserved = new Set(
507
508
  /**
508
509
  * Never manually observe attributes that were in the original
509
510
  * observedAttributes as those would be observed by the browser
@@ -515,27 +516,30 @@ function handleComponentMetaUpdate(meta) {
515
516
  ProxyClass._properties = meta.properties.map(([name]) => name);
516
517
  ProxyClass.observedAttributes = attributes;
517
518
  }
518
- var observedAttributesSymbol = Symbol.for("@arcgis/lumina:observedAttributes");
519
- var globalThisWithObservedAttributes = globalThis;
520
- var alreadyHadObservers = observedAttributesSymbol in globalThisWithObservedAttributes;
521
- globalThisWithObservedAttributes[observedAttributesSymbol] ??= {};
522
- var observedAttributes = globalThisWithObservedAttributes[observedAttributesSymbol];
523
- if (!alreadyHadObservers) {
524
- const makeObserver = (original) => function observeAttributes(qualifiedName, ...rest) {
525
- const observed = observedAttributes[this.tagName.toLowerCase()]?.manuallyObserved;
526
- if (observed?.has(qualifiedName)) {
527
- const oldValue = this.getAttribute(qualifiedName);
528
- const returns = original.call(this, qualifiedName, ...rest);
529
- const newValue = this.getAttribute(qualifiedName);
530
- this.attributeChangedCallback(qualifiedName, oldValue, newValue);
531
- return returns;
532
- } else {
533
- return original.call(this, qualifiedName, ...rest);
534
- }
535
- };
536
- ProxyComponent.prototype.setAttribute = makeObserver(ProxyComponent.prototype.setAttribute);
537
- ProxyComponent.prototype.toggleAttribute = makeObserver(ProxyComponent.prototype.toggleAttribute);
538
- ProxyComponent.prototype.removeAttribute = makeObserver(ProxyComponent.prototype.removeAttribute);
519
+ function initializeAttributeObserver() {
520
+ const observedAttributesSymbol = Symbol.for("@arcgis/lumina:observedAttributes");
521
+ const globalThisWithObservedAttributes = globalThis;
522
+ const alreadyHadObservers = observedAttributesSymbol in globalThisWithObservedAttributes;
523
+ globalThisWithObservedAttributes[observedAttributesSymbol] ??= {};
524
+ const observedAttributes = globalThisWithObservedAttributes[observedAttributesSymbol];
525
+ if (!alreadyHadObservers) {
526
+ const makeObserver = (original) => function observeAttributes(qualifiedName, ...rest) {
527
+ const observed = observedAttributes[this.tagName.toLowerCase()]?.manuallyObserved;
528
+ if (observed?.has(qualifiedName)) {
529
+ const oldValue = this.getAttribute(qualifiedName);
530
+ const returns = original.call(this, qualifiedName, ...rest);
531
+ const newValue = this.getAttribute(qualifiedName);
532
+ this.attributeChangedCallback(qualifiedName, oldValue, newValue);
533
+ return returns;
534
+ } else {
535
+ return original.call(this, qualifiedName, ...rest);
536
+ }
537
+ };
538
+ ProxyComponent.prototype.setAttribute = makeObserver(ProxyComponent.prototype.setAttribute);
539
+ ProxyComponent.prototype.toggleAttribute = makeObserver(ProxyComponent.prototype.toggleAttribute);
540
+ ProxyComponent.prototype.removeAttribute = makeObserver(ProxyComponent.prototype.removeAttribute);
541
+ }
542
+ return observedAttributes;
539
543
  }
540
544
 
541
545
  // src/LitElement.ts
@@ -597,6 +601,9 @@ var LitElement = class _LitElement extends OriginalLitElement {
597
601
  this.el.setAttribute(this.constructor.runtime.hydratedAttribute, "");
598
602
  }
599
603
  }
604
+ /**
605
+ * Customize Lit's default style handling to support non-shadow-root styles
606
+ */
600
607
  static finalizeStyles(styles) {
601
608
  if (process.env.NODE_ENV === "test" && Array.isArray(styles)) {
602
609
  styles = styles.filter(Boolean);
@@ -654,8 +661,10 @@ var LitElement = class _LitElement extends OriginalLitElement {
654
661
  queueMicrotask(
655
662
  // eslint-disable-next-line @typescript-eslint/no-misused-promises, @typescript-eslint/promise-function-async
656
663
  () => this._load().catch((error) => {
657
- console.error(error);
658
664
  this._postLoaded.reject(error);
665
+ setTimeout(() => {
666
+ throw error;
667
+ });
659
668
  })
660
669
  );
661
670
  }
@@ -682,11 +691,13 @@ var LitElement = class _LitElement extends OriginalLitElement {
682
691
  }
683
692
  return existingShadowRoot;
684
693
  }
685
- const domRoot = renderRoot.getRootNode();
686
- domRoot.adoptedStyleSheets = [
687
- ...domRoot.adoptedStyleSheets,
688
- ...Class.elementStyles.map((stylesheet) => "styleSheet" in stylesheet ? stylesheet.styleSheet : stylesheet)
689
- ];
694
+ if (this.isConnected) {
695
+ const domRoot = renderRoot.getRootNode();
696
+ domRoot.adoptedStyleSheets = [
697
+ ...domRoot.adoptedStyleSheets,
698
+ ...Class.elementStyles.map((stylesheet) => "styleSheet" in stylesheet ? stylesheet.styleSheet : stylesheet)
699
+ ];
700
+ }
690
701
  return renderRoot;
691
702
  }
692
703
  /** Do asynchronous component load */
@@ -794,47 +805,11 @@ var bindEvent = void 0;
794
805
  // src/jsx/directives.ts
795
806
  import { classMap } from "lit-html/directives/class-map.js";
796
807
  import { styleMap } from "lit/directives/style-map.js";
797
- import { Directive } from "lit-html/directive.js";
798
808
  import { directive as litDirective } from "lit-html/directive.js";
799
809
  import { live as litLive } from "lit-html/directives/live.js";
800
810
  var safeClassMap = (parameters) => typeof parameters === "object" && parameters != null ? classMap(parameters) : parameters;
801
811
  var safeStyleMap = (parameters) => typeof parameters === "object" && parameters != null ? styleMap(parameters) : parameters;
802
812
  var directive = litDirective;
803
- var DynamicHtmlValueDirective = class extends Directive {
804
- update(part, [prop, value]) {
805
- if (process.env.NODE_ENV !== "production") {
806
- if (part.type !== 6) {
807
- throw new Error("DynamicHtmlValueDirective can only be used in the element part position");
808
- }
809
- if (prop !== "value" && prop !== "defaultValue") {
810
- throw new Error('Expected the first argument to DynamicHtmlValueDirective to be "value" or "defaultValue"');
811
- }
812
- if (typeof value === "object" && value != null) {
813
- if ("_$litDirective$" in value) {
814
- throw new Error(
815
- "Directive is not supported as a value for the `value` or `defaultValue` prop when the tag name is dynamic."
816
- );
817
- } else {
818
- throw new Error(
819
- `Tried to set an object as the value/defaultValue prop in a <${part.element.tagName}> element.`
820
- );
821
- }
822
- }
823
- }
824
- const element = part.element;
825
- const tagName = element.tagName;
826
- if (prop === "value" ? tagName === "INPUT" : tagName === "BUTTON" || tagName === "DATA") {
827
- if (element[prop] !== value) {
828
- element[prop] = value;
829
- }
830
- } else if (value != null) {
831
- element.setAttribute("value", value);
832
- } else {
833
- element.removeAttribute("value");
834
- }
835
- }
836
- };
837
- var dynamicValueDirective = directive(DynamicHtmlValueDirective);
838
813
  var live = litLive;
839
814
 
840
815
  // src/jsx/utils.ts
@@ -881,7 +856,6 @@ export {
881
856
  createEvent,
882
857
  createPrototypeProxy,
883
858
  directive,
884
- dynamicValueDirective,
885
859
  handleComponentMetaUpdate,
886
860
  handleHmrUpdate,
887
861
  live,
@@ -60,14 +60,6 @@ export declare const safeStyleMap: (parameters: CssProperties | Nil | string) =>
60
60
  * "never" to allow it be set as a value for any JSX attribute.
61
61
  */
62
62
  export declare const directive: <C extends DirectiveClass>(c: C) => (...values: Parameters<InstanceType<C>["render"]>) => never;
63
- /**
64
- * Do not import this directly. It will be inserted automatically by JSX to
65
- * lit-html transformer when you are setting "value" or "defaultValue" JSX prop
66
- * in an element with dynamic tag name.
67
- *
68
- * @internal
69
- */
70
- export declare const dynamicValueDirective: (...values: never) => never;
71
63
  /**
72
64
  * Checks binding values against live DOM values, instead of previously bound
73
65
  * values, when determining whether to update the value.
package/dist/jsx/jsx.d.ts CHANGED
@@ -6,7 +6,6 @@
6
6
  * /// <reference types="@arcgis/lumina/typings" />
7
7
  * ```
8
8
  */
9
- /// <reference path="../typings/jsxGlobals.d.ts" />
10
9
  import type { Properties as CssProperties } from "csstype";
11
10
  import type { TemplateResult } from "lit-html";
12
11
  import type { DirectiveResult } from "lit-html/directive.js";
@@ -1293,6 +1292,8 @@ export declare namespace LuminaJsx {
1293
1292
  form?: string;
1294
1293
  for?: string;
1295
1294
  name?: string;
1295
+ value?: string | number;
1296
+ defaultValue?: string | number;
1296
1297
  }
1297
1298
  interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1298
1299
  max?: number | string;
@@ -1862,7 +1863,7 @@ export declare namespace LuminaJsx {
1862
1863
  base: BaseHTMLAttributes<HTMLBaseElement>;
1863
1864
  bdi: HTMLAttributes;
1864
1865
  bdo: HTMLAttributes;
1865
- blockquote: BlockquoteHTMLAttributes<HTMLElement>;
1866
+ blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement>;
1866
1867
  body: HTMLAttributes<HTMLBodyElement>;
1867
1868
  br: HTMLAttributes<HTMLBRElement>;
1868
1869
  button: ButtonHTMLAttributes<HTMLButtonElement>;
@@ -1872,7 +1873,7 @@ export declare namespace LuminaJsx {
1872
1873
  code: HTMLAttributes;
1873
1874
  col: ColHTMLAttributes<HTMLTableColElement>;
1874
1875
  colgroup: ColgroupHTMLAttributes<HTMLTableColElement>;
1875
- data: DataHTMLAttributes<HTMLElement>;
1876
+ data: DataHTMLAttributes<HTMLDataElement>;
1876
1877
  datalist: HTMLAttributes<HTMLDataListElement>;
1877
1878
  dd: HTMLAttributes;
1878
1879
  del: HTMLAttributes;
@@ -1914,16 +1915,16 @@ export declare namespace LuminaJsx {
1914
1915
  map: MapHTMLAttributes<HTMLMapElement>;
1915
1916
  math: MathMLAttributes;
1916
1917
  mark: HTMLAttributes;
1917
- menu: MenuHTMLAttributes<HTMLElement>;
1918
+ menu: MenuHTMLAttributes<HTMLMenuElement>;
1918
1919
  meta: MetaHTMLAttributes<HTMLMetaElement>;
1919
- meter: MeterHTMLAttributes<HTMLElement>;
1920
+ meter: MeterHTMLAttributes<HTMLMeterElement>;
1920
1921
  nav: HTMLAttributes;
1921
1922
  noscript: HTMLAttributes;
1922
1923
  object: ObjectHTMLAttributes<HTMLObjectElement>;
1923
1924
  ol: OlHTMLAttributes<HTMLOListElement>;
1924
1925
  optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>;
1925
1926
  option: OptionHTMLAttributes<HTMLOptionElement>;
1926
- output: OutputHTMLAttributes<HTMLElement>;
1927
+ output: OutputHTMLAttributes<HTMLOutputElement>;
1927
1928
  p: HTMLAttributes<HTMLParagraphElement>;
1928
1929
  picture: HTMLAttributes;
1929
1930
  pre: HTMLAttributes<HTMLPreElement>;
@@ -1961,7 +1962,7 @@ export declare namespace LuminaJsx {
1961
1962
  tfoot: HTMLAttributes<HTMLTableSectionElement>;
1962
1963
  th: ThHTMLAttributes<HTMLTableCellElement>;
1963
1964
  thead: HTMLAttributes<HTMLTableSectionElement>;
1964
- time: TimeHTMLAttributes<HTMLElement>;
1965
+ time: TimeHTMLAttributes<HTMLTimeElement>;
1965
1966
  title: HTMLAttributes<HTMLTitleElement>;
1966
1967
  tr: HTMLAttributes<HTMLTableRowElement>;
1967
1968
  track: TrackHTMLAttributes<HTMLTrackElement>;
@@ -2,6 +2,7 @@ import { Deferred } from "@arcgis/components-utils";
2
2
  import type { LitElement } from "./LitElement";
3
3
  import type { Runtime } from "./runtime";
4
4
  import type { ControllerManager } from "@arcgis/components-controllers";
5
+ import type { PublicLitElement } from "./PublicLitElement";
5
6
  /**
6
7
  * Defines lazy-loading proxy components for all web components in this package.
7
8
  *
@@ -105,7 +106,9 @@ export declare abstract class ProxyComponent extends HtmlElement {
105
106
  /**
106
107
  * Direct offspring that should be awaited before loaded() is emitted
107
108
  */
108
- _offspring: (Element & Partial<Pick<LitElement, "manager">> & Pick<LitElement, "componentOnReady">)[];
109
+ _offspring: (PublicLitElement & {
110
+ manager?: LitElement["manager"];
111
+ })[];
109
112
  /**
110
113
  * Promise that resolves once parent's load() completed. False if there is no
111
114
  * parent
@@ -147,7 +150,7 @@ export declare abstract class ProxyComponent extends HtmlElement {
147
150
  /**
148
151
  * Create a promise that resolves once component is fully loaded
149
152
  */
150
- componentOnReady(): Promise<LitElement>;
153
+ componentOnReady(): Promise<this>;
151
154
  /** @internal */
152
155
  _initializeComponent(module: Record<string, typeof LitElement>): void;
153
156
  }
package/dist/runtime.d.ts CHANGED
@@ -8,7 +8,7 @@ import type { LitElement } from "./LitElement";
8
8
  export type Runtime = RuntimeOptions & {
9
9
  /**
10
10
  * Get the base path to where the package assets can be found.
11
- * By default, the package asset path is set to "https://js.arcgis.com/<simplified-package-name>/<released-verion>/".
11
+ * By default, the package asset path is set to `https://js.arcgis.com/<simplified-package-name>/<released-verion>/`.
12
12
  * We are hosting our assets on a CDN (Content Delivery Network) to ensure fast and reliable access.
13
13
  * It is CORS-enabled, so you can load the assets from any domain.
14
14
  * Use "setAssetPath(path)" if the path needs to be customized.
@@ -18,8 +18,8 @@ export type Runtime = RuntimeOptions & {
18
18
  * Used to manually set the base path where package assets (like localization
19
19
  * and icons) can be found.
20
20
  *
21
- * By default, the package asset path is set to "https://js.arcgis.com/<simplified-package-name>/<released-verion>/".
22
- * For example, "https://js.arcgis.com/map-components/4.30/".
21
+ * By default, the package asset path is set to `https://js.arcgis.com/<simplified-package-name>/<released-verion>/`.
22
+ * For example, `https://js.arcgis.com/map-components/4.30/`.
23
23
  * We are hosting our assets on a CDN (Content Delivery Network) to ensure fast and reliable access.
24
24
  * It is CORS-enabled, so you can load the assets from any domain.
25
25
  * This is the recommended way to load the assets and avoid bundling them with your application.
@@ -2,7 +2,6 @@
2
2
  * Lots of silencing of ESLint in this file to be compatible with Stencil's
3
3
  * unsafe typings.
4
4
  */
5
- /// <reference types="node" />
6
5
  import { type RenderInfo } from "@lit-labs/ssr/lib/render.js";
7
6
  import type { Readable } from "node:stream";
8
7
  /**
@@ -1,4 +1,4 @@
1
- // src/stencil-ssr-compatibility/index.ts
1
+ // src/stencilSsrCompatibility/index.ts
2
2
  import { getWindow } from "@lit-labs/ssr/lib/dom-shim.js";
3
3
  import { render } from "@lit-labs/ssr/lib/render.js";
4
4
  import { html } from "@lit-labs/ssr/lib/server-template.js";
@@ -1,4 +1,4 @@
1
- /// <reference path="jsxGlobals.d.ts" />
2
- /// <reference path="loadLitCss.d.ts" />
3
- /// <reference path="viteEnv.d.ts" />
4
- /// <reference path="importMeta.d.ts" />
1
+ /// <reference path="jsxGlobals.d.ts" preserve="true" />
2
+ /// <reference path="loadLitCss.d.ts" preserve="true" />
3
+ /// <reference path="viteEnv.d.ts" preserve="true" />
4
+ /// <reference path="importMeta.d.ts" preserve="true" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "4.32.0-next.1",
3
+ "version": "4.32.0-next.11",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -8,7 +8,7 @@
8
8
  "exports": {
9
9
  ".": "./dist/index.js",
10
10
  "./config": "./dist/config.js",
11
- "./stencil-ssr-compatibility": "./dist/stencil-ssr-compatibility/index.js",
11
+ "./stencilSsrCompatibility": "./dist/stencilSsrCompatibility/index.js",
12
12
  "./typings": {
13
13
  "types": "./dist/typings/index.d.ts"
14
14
  },
@@ -17,33 +17,14 @@
17
17
  "files": [
18
18
  "dist/"
19
19
  ],
20
- "publishConfig": {
21
- "registry": "https://registry.npmjs.org/",
22
- "access": "public"
23
- },
24
20
  "license": "SEE LICENSE IN LICENSE.md",
25
- "scripts": {
26
- "build": "tsup",
27
- "build:dev": "tsup --sourcemap",
28
- "watch": "yarn build:dev --watch",
29
- "clean": "rimraf ./dist ./build ./turbo ./node_modules"
30
- },
31
21
  "dependencies": {
32
- "@arcgis/components-controllers": "4.32.0-next.1",
33
- "@arcgis/components-utils": "4.32.0-next.1",
22
+ "@arcgis/components-controllers": "4.32.0-next.11",
23
+ "@arcgis/components-utils": "4.32.0-next.11",
34
24
  "@lit-labs/ssr": "^3.2.2",
35
25
  "@lit-labs/ssr-client": "^1.1.7",
36
26
  "csstype": "^3.1.3",
37
- "lit": "^3.1.2",
27
+ "lit": "^3.2.0",
38
28
  "tslib": "^2.7.0"
39
- },
40
- "devDependencies": {
41
- "@arcgis/typescript-config": "4.32.0-next.1",
42
- "@types/node": "^20.2.5",
43
- "eslint": "^8.55.0",
44
- "rimraf": "^5.0.0",
45
- "tsup": "^8.3.0",
46
- "typescript": "~5.4.0"
47
- },
48
- "gitHead": "e5c61e5426551da5fa01c269b3b138133e620ca0"
49
- }
29
+ }
30
+ }