@lensmap/language-server 0.1.1 → 0.2.1

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.
@@ -5,9 +5,9 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta name="theme-color" content="#10171f" />
7
7
  <title>Lensmap · Spatial lens lab</title>
8
- <script type="module" crossorigin src="/assets/playground-BSWSEt-v.js"></script>
9
- <link rel="modulepreload" crossorigin href="/assets/styles-CWsrvT4d.js">
10
- <link rel="stylesheet" crossorigin href="/assets/styles-B1m3hcTM.css">
8
+ <script type="module" crossorigin src="/assets/playground-BCY9v6Ap.js"></script>
9
+ <link rel="modulepreload" crossorigin href="/assets/styles-Bnie2-Dn.js">
10
+ <link rel="stylesheet" crossorigin href="/assets/styles-9bHR-mQh.css">
11
11
  </head>
12
12
  <body>
13
13
  <div id="root"></div>
@@ -6,10 +6,10 @@
6
6
  <meta name="theme-color" content="#10171f" />
7
7
  <meta name="referrer" content="no-referrer" />
8
8
  <title>Lensmap · Editor preview</title>
9
- <script type="module" crossorigin src="/assets/preview-CJQs7HAo.js"></script>
10
- <link rel="modulepreload" crossorigin href="/assets/styles-CWsrvT4d.js">
11
- <link rel="stylesheet" crossorigin href="/assets/styles-B1m3hcTM.css">
12
- <link rel="stylesheet" crossorigin href="/assets/preview-fhnbHE6T.css">
9
+ <script type="module" crossorigin src="/assets/preview-BRCvwAxB.js"></script>
10
+ <link rel="modulepreload" crossorigin href="/assets/styles-Bnie2-Dn.js">
11
+ <link rel="stylesheet" crossorigin href="/assets/styles-9bHR-mQh.css">
12
+ <link rel="stylesheet" crossorigin href="/assets/preview-DDOSTiJj.css">
13
13
  </head>
14
14
  <body>
15
15
  <div id="root"></div>
package/package.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "name": "@lensmap/language-server",
3
3
  "license": "MIT",
4
4
  "description": "Experimental Lensmap language server with an authenticated loopback browser preview",
5
- "version": "0.1.1",
5
+ "version": "0.2.1",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
9
  "publishConfig": {
10
10
  "access": "public",
11
- "tag": "next",
11
+ "tag": "latest",
12
12
  "registry": "https://registry.npmjs.org/"
13
13
  },
14
14
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "lensmap-lsp": "./dist/main.js"
31
31
  },
32
32
  "dependencies": {
33
- "@lensmap/document": "0.1.1",
33
+ "@lensmap/document": "0.2.1",
34
34
  "vscode-languageserver": "11.0.0"
35
35
  },
36
36
  "devDependencies": {
@@ -1 +0,0 @@
1
- :root{color:#e7eef4;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;background:#10171f;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer;background:#202c38;border:1px solid #374451;border-radius:8px;padding:8px 12px}button:hover{background:#2b3a49}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,.sidebar-resizer:focus-visible,.map:focus-visible{outline-offset:4px;outline:3px solid #f7c46c}main{max-width:1800px;margin:auto;padding:28px 36px 18px}.masthead{align-items:center;gap:24px;margin-bottom:26px;display:flex}.brand{align-items:center;gap:10px;display:flex}h1{letter-spacing:-1px;margin:0;font-size:25px}.brand-mark{color:#a9d7d2;font-size:34px}.tag,.phase,.note-eyebrow,.map-caption,.page-footer{letter-spacing:.07em;font-family:ui-monospace,monospace;font-size:11px}.tag{color:#abc4c8;background:#233238;border-radius:5px;margin-left:6px;padding:6px 8px}.masthead>p{color:#9aaab8;font-size:13px}.phase{color:#b4bec9;white-space:nowrap;margin-left:auto}.workspace{grid-template-columns:minmax(0, 1fr) 10px var(--sidebar-width,340px);background:#16212b;border:1px solid #35434f;border-radius:16px;display:grid;overflow:hidden}.map-column{min-width:0}.toolbar{background:#1b2732;border-bottom:1px solid #35434f;flex-wrap:wrap;align-items:center;gap:14px;padding:14px 18px;display:flex}.segmented{background:#101b25;border:none;border-radius:9px;gap:3px;min-width:0;margin:0;padding:3px;display:flex}.segmented button{color:#a7b7c6;background:0 0;border:none;font-size:12px}.segmented button[aria-pressed=true]{color:#edf8f7;background:#365054}.strength{color:#bdcbd6;align-items:center;gap:8px;font-size:12px;display:flex}.strength input{accent-color:#9ad6c9;width:88px}.strength output{font-variant-numeric:tabular-nums;min-width:28px}.quiet{background:0 0;margin-left:auto;font-size:12px}.map{isolation:isolate;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background-color:#14202a;background-image:radial-gradient(#3b4a553d 1px,#0000 1px);background-size:24px 24px;height:clamp(490px,67vh,780px);position:relative;overflow:hidden}.map.dragging{cursor:grabbing}.map.overview{cursor:default}.graph-scene{transform-origin:50%;position:absolute;inset:0}.focus-ring{pointer-events:none;border:1px solid #99cfcf15;border-radius:50%;width:260px;height:260px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 100px 65px #9edbc704}.map-caption{color:#98adb9;font-size:10px}.connections{pointer-events:none;position:absolute;inset:0;overflow:visible}.edge{fill:none;stroke-width:2.5px;opacity:.92}.edge-hit{fill:none;stroke:#0000;stroke-width:16px;pointer-events:stroke}.destination-icon{font-size:1.4em;display:block}.portal-actions p{overflow-wrap:anywhere}.edge.context{opacity:.45}.neighbourhood-action{font-size:12px}.neighbourhood-label{color:#a9d7d2;font-size:11px}.edge.connected{stroke-width:3.5px;opacity:1;filter:drop-shadow(0 0 2px)drop-shadow(0 0 6px)}.edge.connection-preview{stroke-width:4px;opacity:1;filter:drop-shadow(0 0 2px #d5f4ed)drop-shadow(0 0 7px)}.connection-chooser{z-index:6;-webkit-user-select:text;user-select:text;background:#162832f5;border:1px solid #89bfb3;border-radius:10px;flex-direction:column;width:min(290px,100% - 24px);max-height:45%;padding:12px;font-size:11px;display:flex;position:absolute;top:12px;right:12px}.connection-chooser h2{margin:0 0 6px;font-size:13px}.connection-chooser p{margin:0 0 8px;line-height:1.4}.connection-chooser ol{min-height:0;margin:0 0 8px;padding:0;list-style:none;overflow:auto}.connection-chooser li+li{margin-top:5px}.connection-option{text-align:left;overflow-wrap:anywhere;width:100%;padding:7px 9px}.connection-chooser strong,.connection-chooser span{display:block}.connection-chooser span{color:#bdcbd6;margin-top:3px}.connection-option[aria-pressed=true]{background:#304c51;border-color:#d5f4ed}.connection-chooser .outside-view{color:#f7c46c}.connection-actions{flex-wrap:wrap;gap:6px;display:flex}.connection-actions button{padding:6px 8px;font-size:11px}.edge-halo{fill:none;stroke:#14202a;stroke-width:8px}.node{text-align:center;transform-origin:50%;background:#1d303d;border:1.8px solid;border-radius:50%;justify-content:center;align-items:center;width:86px;height:86px;padding:10px;font-size:12px;line-height:1.3;display:flex;position:absolute;box-shadow:0 5px 12px #0003}.node>span{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.node.connected,.node.selected{box-shadow:0 0 5px 1px var(--branch-colour), 0 0 18px color-mix(in srgb, var(--branch-colour) 80%, transparent), inset 0 0 8px color-mix(in srgb, var(--branch-colour) 30%, transparent);border-width:2.5px}.node:hover{z-index:3;background:#334754}.node.selected{filter:brightness(1.15);z-index:2;background:#2d4651}.node:focus-visible{z-index:4;outline-offset:5px;outline:3px solid #f7c46c}.node[data-keyboard-target=true]:after{content:"";pointer-events:none;border:2px dashed #d5f4ed;border-radius:50%;position:absolute;inset:-10px}.keyboard-target-label{color:#d5f4ed}.node.unresolved{border-style:dashed;font-size:26px}.map.dragging .node{cursor:grabbing}.zoom-controls{z-index:5;background:#18242ff5;border:1px solid #3b4a55;border-radius:10px;align-items:center;gap:6px;padding:4px;display:flex;position:absolute;bottom:18px;left:18px}.zoom-controls button{background:0 0;border:none;padding:3px 10px;font-size:20px}.zoom-controls output{text-align:center;min-width:42px;font-size:12px}.map-footer{color:#aebfca;border-top:1px solid #35434f;padding:13px 18px;font-size:11px}.map-footer p{margin:0 0 9px;line-height:1.6}.legend{color:#d4dfeb;gap:22px;display:flex}.notes{background:#1c2833;flex-direction:column;min-width:0;max-height:calc(clamp(490px,67vh,780px) + 200px);padding:24px;display:flex;overflow:auto}.sidebar-resizer{cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;background:#23333f;border:none;width:10px;margin:0}.sidebar-resizer:hover,.sidebar-resizer:focus-visible{background:#659a9b}.sidebar-section{border-top:1px solid #3a4855;padding:14px 0}.sidebar-section>summary{color:#c3d5dc;cursor:pointer;font-size:12px;font-weight:600}.sidebar-section[open]>summary{margin-bottom:16px}.source-label{margin-bottom:8px;font-size:12px;display:block}.playground textarea{resize:vertical;color:#dce9ed;tab-size:2;background:#101b24;border:1px solid #536b78;border-radius:6px;width:100%;height:360px;min-height:220px;padding:12px;font:12px/1.65 ui-monospace,monospace;display:block}.editor-help,.editor-state{color:#b0c2cd;font-size:11px;line-height:1.7}.editor-state{overflow-wrap:anywhere}.editor-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.editor-actions button{font-size:12px}.source-error{color:#ffc2b5;white-space:pre-wrap;overflow-wrap:anywhere;background:#412c2b;border-radius:6px;padding:12px;font-size:11px}.empty-map{text-align:center;color:#b6cbd5;place-content:center;padding:32px;display:grid;position:absolute;inset:0}.empty-map h2{font-family:Georgia,serif;font-weight:400}.note-eyebrow{color:#a3c7c7;justify-content:space-between;margin-bottom:26px;display:flex}.note-content{color:#c9d5df;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.note-content h2{color:#f0f4f6;margin:0 0 18px;font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.25}.note-content ul{padding-left:20px}.note-content blockquote{border-left:2px solid #a9d7d2;margin-left:0;padding-left:16px;font-style:italic}a{color:#a3d7ff;text-underline-offset:3px}.outgoing{margin-top:0}.outgoing button{text-align:left;background:0 0;border:none;justify-content:space-between;width:100%;padding:9px 0;font-size:13px;display:flex}.outgoing button:hover{color:#aee2d7}.outgoing p{color:#a4b5c2;font-size:12px}.page-footer{color:#93a5b4;justify-content:space-between;gap:16px;padding-top:18px;font-size:10px;display:flex}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1100px){main{padding:20px}.masthead>p{display:none}.toolbar{gap:9px}.quiet{margin-left:0}}@media (width<=760px){main{padding:14px}.masthead{flex-wrap:wrap;gap:8px;margin-bottom:14px}.phase{display:none}.tag{font-size:10px}.workspace{grid-template-columns:minmax(0,1fr)}.map{height:510px}.notes{border-top:1px solid #35434f;max-height:none}.sidebar-resizer{display:none}.note-eyebrow{margin-bottom:18px}.page-footer{flex-direction:column;gap:7px}.map-caption{font-size:9px}.toolbar{padding:12px}.strength{font-size:11px}.strength input{width:70px}}