@arcgis/lumina-compiler 4.34.0-next.46 → 4.34.0-next.47
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/context/index.d.ts +2 -1
- package/dist/index.js +802 -799
- package/dist/jsxToLitHtml/importsConfig.d.ts +10 -0
- package/dist/plugins/loadLitCss.d.ts +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JsxImportName } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Most Lit API's are re-exported from multiple packages. Because only Lit
|
|
4
|
+
* package is declared as an explicit dependency, Lumina's auto-inserted imports
|
|
5
|
+
* should only import from the Lit package (from the first import path in the
|
|
6
|
+
* lists below). However, to avoid double-importing things if the file already
|
|
7
|
+
* imports these APIs from another package, we need to check for all the places
|
|
8
|
+
* that export these APIs (the 2nd+ items in the lists below).
|
|
9
|
+
*/
|
|
10
|
+
export declare const dynamicallyInsertedImportsByName: Record<JsxImportName, string[]>;
|
|
@@ -84,3 +84,4 @@ export declare const globalCssFlag = "?global";
|
|
|
84
84
|
* will be inlined as base64 to simplify our life.
|
|
85
85
|
*/
|
|
86
86
|
export declare const loadLitCss: (context: CompilerContext) => Plugin;
|
|
87
|
+
export declare function viteCssModuleToLit(code: string, withHmr: boolean, minify: boolean, isLayered: boolean): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina-compiler",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.47",
|
|
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.34.0-next.
|
|
22
|
-
"@arcgis/components-build-utils": "4.34.0-next.
|
|
23
|
-
"@arcgis/components-utils": "4.34.0-next.
|
|
21
|
+
"@arcgis/api-extractor": "4.34.0-next.47",
|
|
22
|
+
"@arcgis/components-build-utils": "4.34.0-next.47",
|
|
23
|
+
"@arcgis/components-utils": "4.34.0-next.47",
|
|
24
24
|
"chalk": "^5.4.1",
|
|
25
25
|
"esbuild": "^0.25.5",
|
|
26
26
|
"glob": "^11.0.3",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"vitest-fail-on-console": "^0.7.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@arcgis/lumina": "~4.34.0-next.
|
|
34
|
+
"@arcgis/lumina": "~4.34.0-next.47",
|
|
35
35
|
"lit": "^3.3.0",
|
|
36
36
|
"typescript": "~5.8.3",
|
|
37
37
|
"vite": "^7.0.0",
|