@arcgis/lumina-compiler 5.1.0-next.98 → 5.1.0

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/README.md CHANGED
@@ -8,5 +8,5 @@ It is not intended to be used directly, but rather used as a dependency by other
8
8
 
9
9
  ## License
10
10
 
11
- This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package, and at https://js.arcgis.com/5.0/LICENSE.txt.
12
- For third party notices, see https://js.arcgis.com/5.0/third-party-notices.txt.
11
+ This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package, and at https://js.arcgis.com/5.1/LICENSE.txt.
12
+ For third party notices, see https://js.arcgis.com/5.1/third-party-notices.txt.
package/dist/index.js CHANGED
@@ -1268,7 +1268,7 @@ function pr(e) {
1268
1268
  setCustomElementsManifest(${mr(e)});
1269
1269
  });`;
1270
1270
  }
1271
- const ur = "@storybook/web-components", mr = (e) => `JSON.parse(\`${fr(JSON.stringify(JSON.stringify(e)).slice(1, -1))}\`)`;
1271
+ const ur = "@storybook/web-components-vite", mr = (e) => `JSON.parse(\`${fr(JSON.stringify(JSON.stringify(e)).slice(1, -1))}\`)`;
1272
1272
  function fr(e) {
1273
1273
  return e.replaceAll('\\"', '"').replaceAll("`", "\\`").replaceAll("${", "\\${");
1274
1274
  }
@@ -2240,7 +2240,7 @@ async function Li(e) {
2240
2240
  })
2241
2241
  ).then((i) => i.filter(F)), await e._serveOnlyDependencies);
2242
2242
  }
2243
- const un = "/@arcgis/lumina-compiler/testSetupFile", mn = /^\/@arcgis\/lumina-compiler\/testSetupFile/u, Je = [un];
2243
+ const un = "/C:@arcgis/lumina-compiler/testSetupFile", mn = /^\/C:@arcgis\/lumina-compiler\/testSetupFile/u, Je = [un];
2244
2244
  async function fn(e) {
2245
2245
  if (
2246
2246
  /**
@@ -5279,7 +5279,7 @@ function Ia(e) {
5279
5279
  ).join(`
5280
5280
  `);
5281
5281
  return `
5282
- /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <${e.tagName} /> directly. */
5282
+ /** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use \`<${e.tagName} />\` directly. */
5283
5283
  export const ${e.pascalCaseName} = /*@__PURE__*/ createWrapper(
5284
5284
  getReactWrapperOptions(
5285
5285
  "${e.tagName}" as unknown as HTML${e.pascalCaseName}Element,
@@ -113,7 +113,7 @@ export declare const nativeEvents: Set<string>;
113
113
  /**
114
114
  * HTML elements that do not have children and closing tags
115
115
  *
116
- * Based on https://developer.mozilla.org/en-US/docs/Glossary/Void_element
116
+ * Based on https://developer.mozilla.org/docs/Glossary/Void_element
117
117
  */
118
118
  export declare const voidElements: Set<string>;
119
119
  /**
@@ -173,7 +173,7 @@ export declare const mathMlElements: Set<string>;
173
173
  * few exceptions. Explicitly declaring a custom element by this name is
174
174
  * forbidden
175
175
  *
176
- * @see https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names
176
+ * @see https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names
177
177
  */
178
178
  export declare const blockListedCustomElementNames: Set<string>;
179
179
  export {};
@@ -302,11 +302,11 @@ export type PuppeteerTestingOptions = {
302
302
  };
303
303
  export type GenerateDocumentationOptions = {
304
304
  /**
305
- * @deprecated Create "api-extractor.config.ts" and use `documentation.copyDocDefinitions` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
305
+ * @deprecated Create "api-extractor.config.ts" and use `documentation.copyDocDefinitions` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
306
306
  */
307
307
  readonly copyDefinitions?: CopyDocDefinitions;
308
308
  /**
309
- * @deprecated Create "api-extractor.config.ts" and use `context.apiJsonEmitPath` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
309
+ * @deprecated Create "api-extractor.config.ts" and use `context.apiJsonEmitPath` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
310
310
  */
311
311
  readonly apiJsonFileName?: string | false;
312
312
  /**
@@ -319,15 +319,15 @@ export type GenerateDocumentationOptions = {
319
319
  */
320
320
  readonly stencilLikeDocsJsonFileName?: string | false;
321
321
  /**
322
- * @deprecated Create "api-extractor.config.ts" and use `documentation.publicStoryUrlPrefix` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
322
+ * @deprecated Create "api-extractor.config.ts" and use `documentation.publicStoryUrlPrefix` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
323
323
  */
324
324
  readonly publicStoryUrlPrefix?: string;
325
325
  /**
326
- * @deprecated Create "api-extractor.config.ts" and use `documentation.getComponentDocsUrl` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
326
+ * @deprecated Create "api-extractor.config.ts" and use `documentation.getComponentDocsUrl` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
327
327
  */
328
328
  readonly getComponentDocsUrl?: (tagName: string, className: string) => string | undefined;
329
329
  /**
330
- * @deprecated Create "api-extractor.config.ts" and use `documentation.getComponentDemoUrl` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
330
+ * @deprecated Create "api-extractor.config.ts" and use `documentation.getComponentDemoUrl` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
331
331
  */
332
332
  readonly getComponentDemoUrl?: (tagName: string, className: string) => string | undefined;
333
333
  /**
@@ -346,23 +346,23 @@ export type GenerateDocumentationOptions = {
346
346
  };
347
347
  export type GenerateTypesOptions = {
348
348
  /**
349
- * @deprecated Create "api-extractor.config.ts" and use `types.compilerOptions` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
349
+ * @deprecated Create "api-extractor.config.ts" and use `types.compilerOptions` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
350
350
  */
351
351
  readonly compilerOptions?: ResolvedApiExtractorConfig["types"]["compilerOptions"];
352
352
  /**
353
- * @deprecated Create "api-extractor.config.ts" and use `types.typeScriptConfigPath` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
353
+ * @deprecated Create "api-extractor.config.ts" and use `types.typeScriptConfigPath` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
354
354
  */
355
355
  readonly tsconfigPath?: string;
356
356
  /**
357
- * @deprecated Create "api-extractor.config.ts" and use `types.afterDiagnostic` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
357
+ * @deprecated Create "api-extractor.config.ts" and use `types.afterDiagnostic` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
358
358
  */
359
359
  readonly afterDiagnostic?: (diagnostics: readonly ts.Diagnostic[]) => Promise<void> | void;
360
360
  /**
361
- * @deprecated Create "api-extractor.config.ts" and use `types.typeScriptInstanceCreated` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
361
+ * @deprecated Create "api-extractor.config.ts" and use `types.typeScriptInstanceCreated` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
362
362
  */
363
363
  readonly typeScriptInstanceCreated?: (program: ts.Program, host: ts.CompilerHost) => void;
364
364
  /**
365
- * @deprecated Create "api-extractor.config.ts" and use `types.declarationTextTransformers` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
365
+ * @deprecated Create "api-extractor.config.ts" and use `types.declarationTextTransformers` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
366
366
  */
367
367
  readonly declarationTextTransformers?: DeclarationTextTransformer[];
368
368
  /**
@@ -425,7 +425,7 @@ export type FileTransformContext = {
425
425
  /** @deprecated */
426
426
  export type ApiJsonOptions = {
427
427
  /**
428
- * @deprecated Create "api-extractor.config.ts" and use `afterCreate` instead. [Example config](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc).
428
+ * @deprecated Create "api-extractor.config.ts" and use `afterCreate` instead. [Example config](https://webgis.esri.com/references/api-extractor/tags-reference#copydoc)).
429
429
  */
430
430
  readonly afterCreate?: (api: ApiJson,
431
431
  /** Whether we are patching an existing api.json in response to HRM */
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@arcgis/lumina-compiler",
3
- "version": "5.1.0-next.98",
3
+ "version": "5.1.0",
4
4
  "description": "Compiler for WebGIS web components",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "module": "dist/index.js",
8
- "types": "dist/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": "./dist/index.js",
11
11
  "./testing": "./dist/testing/index.js",
@@ -19,23 +19,23 @@
19
19
  ],
20
20
  "license": "SEE LICENSE IN LICENSE.md",
21
21
  "dependencies": {
22
- "@vitest/expect": "^4.1.2",
23
- "@vitest/runner": "^4.1.2",
22
+ "@vitest/expect": "^4.1.6",
23
+ "@vitest/runner": "^4.1.6",
24
24
  "esbuild": "~0.28.0",
25
25
  "js-beautify": "^1.15.4",
26
26
  "mime-types": "^3.0.1",
27
27
  "tinyglobby": "^0.2.15",
28
28
  "tslib": "^2.8.1",
29
- "@arcgis/api-extractor": "5.1.0-next.98",
30
- "@arcgis/toolkit": "~5.1.0-next.98",
31
- "@arcgis/components-build-utils": "5.1.0-next.98"
29
+ "@arcgis/api-extractor": "5.1.0",
30
+ "@arcgis/components-build-utils": "5.1.0",
31
+ "@arcgis/toolkit": "~5.1.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "lit": "^3.3.0",
35
35
  "typescript": "~6.0.2",
36
36
  "vite": "^7.3.2",
37
- "vitest": "^4.1.2",
38
- "@arcgis/lumina": "~5.1.0-next.98"
37
+ "vitest": "^4.1.6",
38
+ "@arcgis/lumina": "~5.1.0"
39
39
  },
40
40
  "peerDependenciesMeta": {
41
41
  "vitest": {