@arcgis/lumina-compiler 4.33.0-next.96 → 4.33.0-next.98

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.
@@ -249,7 +249,13 @@ export type ServeEnvironmentOptions = {
249
249
  * `index.html`.
250
250
  * In such case, you can set `extraDependencies: ["@arcgis/map-components"]`
251
251
  */
252
- readonly extraDependencies?: string[];
252
+ readonly extraDependencies?: (DetailedExtraDependency | string)[];
253
+ };
254
+ export type DetailedExtraDependency = {
255
+ /** @example "@arcgis/map-config-components" */
256
+ name: string;
257
+ /** @example ():string => `https://example.com/arcgis-components/builds/main/cdn/map-config-components/` */
258
+ getCdnUrl: (context: CompilerContext) => string;
253
259
  };
254
260
  export type PuppeteerTestingOptions = {
255
261
  /**
@@ -1,5 +1,4 @@
1
1
  import { LitElement } from '@arcgis/lumina';
2
- import { BaseComponent, ControllerHost } from '@arcgis/lumina/controllers';
3
2
  /**
4
3
  * Wrap a controller in a small component - useful when you are interested in
5
4
  * only testing the controller behavior.
@@ -22,7 +21,7 @@ import { BaseComponent, ControllerHost } from '@arcgis/lumina/controllers';
22
21
  * expect(controller.a).toEqual("a");
23
22
  * ```
24
23
  */
25
- export declare function wrapController<T>(controller: ((component: BaseComponent & ControllerHost) => T) | (new (component: BaseComponent & ControllerHost) => T),
24
+ export declare function wrapController<T>(controller: ((component: LitElement) => T) | (new (component: LitElement) => T),
26
25
  /**
27
26
  * An optional callback to call right after controller constructor
28
27
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina-compiler",
3
- "version": "4.33.0-next.96",
3
+ "version": "4.33.0-next.98",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -18,9 +18,9 @@
18
18
  ],
19
19
  "license": "SEE LICENSE IN LICENSE.md",
20
20
  "dependencies": {
21
- "@arcgis/api-extractor": "4.33.0-next.96",
22
- "@arcgis/components-build-utils": "4.33.0-next.96",
23
- "@arcgis/components-utils": "4.33.0-next.96",
21
+ "@arcgis/api-extractor": "4.33.0-next.98",
22
+ "@arcgis/components-build-utils": "4.33.0-next.98",
23
+ "@arcgis/components-utils": "4.33.0-next.98",
24
24
  "chalk": "^5.3.0",
25
25
  "esbuild": "^0.24.0",
26
26
  "glob": "^11.0.0",
@@ -37,6 +37,6 @@
37
37
  "vitest-fail-on-console": "^0.7.1"
38
38
  },
39
39
  "peerDependencies": {
40
- "@arcgis/lumina": "~4.33.0-next.96"
40
+ "@arcgis/lumina": "~4.33.0-next.98"
41
41
  }
42
42
  }