@arcgis/lumina-compiler 5.0.0-next.68 → 5.0.0-next.69
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.js +5 -5
- package/dist/publicTypes.d.ts +6 -6
- package/dist/testing/mount.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -2623,7 +2623,7 @@ console.log("${s.tagName} is ready to go!");
|
|
|
2623
2623
|
}), g && I !== void 0 && A !== void 0 && I.type?.getText() !== A.parameters[0]?.type?.getText() && (i.getterType = { text: `typeof ${h.getText(this.file)}` });
|
|
2624
2624
|
}
|
|
2625
2625
|
if (d && (i.readonly = !0, n || (i.docsOnlyReadonly = !0)), i.type.values && i.type.values.length > 0 && i.type.values?.every((h) => h.type === "boolean") && (i.default ? f && this.context.viteCommand === "build" && i.deprecated === void 0 && (Ue.loggedBooleanWarning || this.context.logLintWarning(
|
|
2626
|
-
`Boolean properties should default to "false". Found default value "true" in ${this.apiComponent.name}.${i.name}. See https://
|
|
2626
|
+
`Boolean properties should default to "false". Found default value "true" in ${this.apiComponent.name}.${i.name}. See https://webgis.esri.com/references/lumina/properties#boolean-properties`
|
|
2627
2627
|
), Ue.loggedBooleanWarning = !0) : i.default = "false"), this.pairedSetter !== void 0 && !i.readonly) {
|
|
2628
2628
|
const h = this.pairedSetter.parameters.at(0)?.type?.getText(this.file), v = t.type?.getText(this.file);
|
|
2629
2629
|
h !== v && v !== void 0 && h !== void 0 && (i.getterType = { text: v });
|
|
@@ -3741,7 +3741,7 @@ function kn(e, t) {
|
|
|
3741
3741
|
const h = s.attributes.properties.flatMap((C) => {
|
|
3742
3742
|
if (o.isJsxSpreadAttribute(C))
|
|
3743
3743
|
throw Error(
|
|
3744
|
-
`JSX spread attribute syntax is not supported. See alternatives: https://
|
|
3744
|
+
`JSX spread attribute syntax is not supported. See alternatives: https://webgis.esri.com/references/lumina/jsx#spread-attributes
|
|
3745
3745
|
Found ${C.getText(e.sourceFile)}`
|
|
3746
3746
|
);
|
|
3747
3747
|
const { name: S, initializer: k } = C;
|
|
@@ -4705,7 +4705,7 @@ function gc(e) {
|
|
|
4705
4705
|
if (e.privateApiJson.modules.length === 0) {
|
|
4706
4706
|
T.warn(
|
|
4707
4707
|
_,
|
|
4708
|
-
"Skipping CDN build as no custom elements were found in this package. Double check that your component files follow the required naming convention: https://
|
|
4708
|
+
"Skipping CDN build as no custom elements were found in this package. Double check that your component files follow the required naming convention: https://webgis.esri.com/references/lumina/component."
|
|
4709
4709
|
);
|
|
4710
4710
|
return;
|
|
4711
4711
|
}
|
|
@@ -5970,7 +5970,7 @@ async function sl(e, t) {
|
|
|
5970
5970
|
if (a === void 0) {
|
|
5971
5971
|
T.warn(
|
|
5972
5972
|
"@arcgis/lumina:parseStoryFiles",
|
|
5973
|
-
'Failed to find component tag name. Make sure the "component" property is present in the story meta. Documentation: https://
|
|
5973
|
+
'Failed to find component tag name. Make sure the "component" property is present in the story meta. Documentation: https://webgis.esri.com/references/support-packages/storybook',
|
|
5974
5974
|
s
|
|
5975
5975
|
);
|
|
5976
5976
|
return;
|
|
@@ -5995,7 +5995,7 @@ ${h}` : ""}`,
|
|
|
5995
5995
|
if (d.length === 0) {
|
|
5996
5996
|
T.warn(
|
|
5997
5997
|
"@arcgis/lumina:parseStoryFiles",
|
|
5998
|
-
'Failed to find any stories. Make sure stories are defined using expected format and have a "name" property. Documentation: https://
|
|
5998
|
+
'Failed to find any stories. Make sure stories are defined using expected format and have a "name" property. Documentation: https://webgis.esri.com/references/support-packages/storybook',
|
|
5999
5999
|
s
|
|
6000
6000
|
);
|
|
6001
6001
|
return;
|
package/dist/publicTypes.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export type LuminaOptions = {
|
|
|
39
39
|
*
|
|
40
40
|
* @deprecated
|
|
41
41
|
* For new projects, use Vitest browser mode instead of Puppeteer.
|
|
42
|
-
* See documentation: https://
|
|
42
|
+
* See documentation: https://webgis.esri.com/references/lumina/testing
|
|
43
43
|
*/
|
|
44
44
|
readonly puppeteerTesting?: PuppeteerTestingOptions;
|
|
45
45
|
/**
|
|
@@ -190,7 +190,7 @@ export type WrappersOptions = React18WrapperOptions;
|
|
|
190
190
|
/**
|
|
191
191
|
* Options for creating React 18 wrapper.
|
|
192
192
|
*
|
|
193
|
-
* Documentation: https://
|
|
193
|
+
* Documentation: https://webgis.esri.com/references/lumina/build#build-wrappers
|
|
194
194
|
*/
|
|
195
195
|
export type React18WrapperOptions = {
|
|
196
196
|
readonly type: "react18";
|
|
@@ -262,14 +262,14 @@ export type DetailedExtraDependency = {
|
|
|
262
262
|
/**
|
|
263
263
|
* @deprecated
|
|
264
264
|
* For new projects, use Vitest browser mode instead of Puppeteer.
|
|
265
|
-
* See documentation: https://
|
|
265
|
+
* See documentation: https://webgis.esri.com/references/lumina/testing
|
|
266
266
|
*/
|
|
267
267
|
export type PuppeteerTestingOptions = {
|
|
268
268
|
/**
|
|
269
269
|
* @default false
|
|
270
270
|
* @deprecated
|
|
271
271
|
* For new projects, use Vitest browser mode instead of Puppeteer.
|
|
272
|
-
* See documentation: https://
|
|
272
|
+
* See documentation: https://webgis.esri.com/references/lumina/testing
|
|
273
273
|
*/
|
|
274
274
|
readonly enabled?: boolean;
|
|
275
275
|
/**
|
|
@@ -318,7 +318,7 @@ export type GenerateDocumentationOptions = {
|
|
|
318
318
|
* Set this to "https://developers.arcgis.com/javascript/latest/storybook/map-components/".
|
|
319
319
|
* This will produce URLs like
|
|
320
320
|
* "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-area-measurement-2d--demo&singleStory=true"
|
|
321
|
-
* @see https://
|
|
321
|
+
* @see https://webgis.esri.com/references/support-packages/storybook
|
|
322
322
|
*/
|
|
323
323
|
readonly publicStoryUrlPrefix?: string;
|
|
324
324
|
/**
|
|
@@ -691,7 +691,7 @@ export type LintingOptions = {
|
|
|
691
691
|
* technical limitations. Instead, this rule exists to enforce them at
|
|
692
692
|
* build-time.
|
|
693
693
|
*
|
|
694
|
-
* [Documentation](https://
|
|
694
|
+
* [Documentation](https://webgis.esri.com/references/lumina/properties#string-properties)
|
|
695
695
|
*/
|
|
696
696
|
mustIncludeAllRequiredProperties?: string[];
|
|
697
697
|
};
|
package/dist/testing/mount.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export type RenderOptions<Component extends HTMLElement = HTMLElement> = {
|
|
|
82
82
|
* Render Lit Element in a test environment.
|
|
83
83
|
*
|
|
84
84
|
* See documentation:
|
|
85
|
-
* https://
|
|
85
|
+
* https://webgis.esri.com/references/lumina/testing
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* ```tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina-compiler",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.69",
|
|
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": "5.0.0-next.
|
|
22
|
-
"@arcgis/components-build-utils": "5.0.0-next.
|
|
23
|
-
"@arcgis/toolkit": "~5.0.0-next.
|
|
21
|
+
"@arcgis/api-extractor": "5.0.0-next.69",
|
|
22
|
+
"@arcgis/components-build-utils": "5.0.0-next.69",
|
|
23
|
+
"@arcgis/toolkit": "~5.0.0-next.69",
|
|
24
24
|
"chalk": "^5.4.1",
|
|
25
25
|
"esbuild": "^0.25.12",
|
|
26
26
|
"glob": "^11.0.3",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"vite-plugin-dts": "^4.5.4"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@arcgis/lumina": "~5.0.0-next.
|
|
33
|
+
"@arcgis/lumina": "~5.0.0-next.69",
|
|
34
34
|
"lit": "^3.3.0",
|
|
35
35
|
"typescript": "~5.9.3",
|
|
36
36
|
"vite": "^7.2.2",
|