@tileflow/dev 0.1.0-alpha.30 → 0.1.0-alpha.32
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 +59 -2
- package/THIRD_PARTY_NOTICES.md +225 -3
- package/dist/artifacts.d.ts +6 -2
- package/dist/artifacts.js +18 -3
- package/dist/{chunk-6MGFMKG3.js → chunk-AQUGMUZW.js} +43 -3
- package/dist/{chunk-L56FLV4R.js → chunk-CM6ZTYDJ.js} +48 -7
- package/dist/{chunk-A2VTI43Y.js → chunk-F4PLTZS4.js} +1007 -19
- package/dist/config.js +1 -1
- package/dist/devtools-browser.js +17353 -0
- package/dist/devtools-observer.js +95 -0
- package/dist/fonts.d.ts +1 -1
- package/dist/icons-B84H8Ymu.d.ts +406 -0
- package/dist/icons.d.ts +3 -337
- package/dist/icons.js +3 -1
- package/dist/inspect.js +1 -1
- package/dist/{preview-assets-MVUJJ5XR.js → preview-assets-KGUICQHG.js} +6 -0
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +251 -1855
- package/dist/server.d.ts +11 -4
- package/dist/server.js +1595 -278
- package/docs/beacon-map-audits.md +102 -0
- package/docs/layers-inspection.md +87 -0
- package/docs/local-comparison-workbench-and-compiler-inspection.md +74 -193
- package/docs/native-artifacts.md +3 -3
- package/package.json +7 -5
- package/ui-fonts/hubot-sans-OFL.txt +93 -0
- package/ui-fonts/hubot-sans.woff2 +0 -0
- package/ui-fonts/inter-OFL.txt +92 -0
- package/ui-fonts/inter.woff2 +0 -0
- package/ui-fonts/jetbrains-mono-OFL.txt +93 -0
- package/ui-fonts/jetbrains-mono.woff2 +0 -0
- package/ui-fonts/mona-sans-OFL.txt +93 -0
- package/ui-fonts/mona-sans.woff2 +0 -0
package/dist/server.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import '@tileflow/core';
|
|
|
5
5
|
import '@tileflow/core/build';
|
|
6
6
|
import '@tileflow/core/manifest';
|
|
7
7
|
import '@tileflow/core/native-profile';
|
|
8
|
-
import './icons.js';
|
|
8
|
+
import './icons-B84H8Ymu.js';
|
|
9
9
|
import './config.js';
|
|
10
10
|
|
|
11
11
|
declare const tileflowComparisonSchemaVersion: 1;
|
|
@@ -23,16 +23,21 @@ type TileflowComparisonSide = {
|
|
|
23
23
|
/** Same-origin preview URL below basePath, including its map/theme query. */
|
|
24
24
|
previewUrl: string;
|
|
25
25
|
};
|
|
26
|
-
type TileflowComparisonMode = 'blink' | 'overlay' | 'side-by-side' | 'split';
|
|
26
|
+
type TileflowComparisonMode = 'single' | 'blink' | 'overlay' | 'side-by-side' | 'split';
|
|
27
27
|
type TileflowComparisonOptions = {
|
|
28
28
|
basePath?: string;
|
|
29
29
|
initialMode?: TileflowComparisonMode;
|
|
30
30
|
left: TileflowComparisonSide;
|
|
31
|
-
right
|
|
31
|
+
right?: TileflowComparisonSide;
|
|
32
32
|
title?: string;
|
|
33
|
+
/** Optional local workflow adapter supplied by the CLI or an embedding server. */
|
|
34
|
+
workbench?: {
|
|
35
|
+
url: string;
|
|
36
|
+
handle: TileflowComparisonRequestHandler;
|
|
37
|
+
};
|
|
33
38
|
};
|
|
34
39
|
/**
|
|
35
|
-
* Compose two existing Tileflow dev handlers behind
|
|
40
|
+
* Compose one or two existing Tileflow dev handlers behind the same-origin Map DevTools.
|
|
36
41
|
*
|
|
37
42
|
* The side handlers retain ownership of styles, sprites, fonts, generations, live
|
|
38
43
|
* events, and last-known-good behavior. This router owns only the shell document and
|
|
@@ -46,6 +51,8 @@ type TileflowDevRequestHandlerOptions = {
|
|
|
46
51
|
config?: string;
|
|
47
52
|
cwd?: string;
|
|
48
53
|
inspection?: boolean;
|
|
54
|
+
/** Fit scene previews to their pane; capture retains the declared scene frame. */
|
|
55
|
+
fitViewport?: boolean;
|
|
49
56
|
map?: string;
|
|
50
57
|
onError?: (error: unknown) => void;
|
|
51
58
|
scene?: string;
|