@kubohiroya/turbowarp-document-data 0.1.1 → 0.2.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/docs/index.html CHANGED
@@ -5,9 +5,11 @@
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
6
  <title>Document Data documentation</title>
7
7
  <style>
8
- body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:900px;margin:0 auto;padding:2rem;line-height:1.6;color:#222}
9
- code{background:#f3f3f3;padding:.1em .3em;border-radius:.25em}
10
- pre{background:#f6f8fa;padding:1rem;overflow:auto;border-radius:.5rem}
8
+ :root{color-scheme:light dark;--fg:#222;--bg:#fff;--code-bg:#f3f3f3;--pre-bg:#f6f8fa}
9
+ @media (prefers-color-scheme:dark){:root{--fg:#e7eaf2;--bg:#12141a;--code-bg:#242833;--pre-bg:#1b1e26}}
10
+ body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:900px;margin:0 auto;padding:2rem;line-height:1.6;color:var(--fg);background:var(--bg)}
11
+ code{background:var(--code-bg);padding:.1em .3em;border-radius:.25em}
12
+ pre{background:var(--pre-bg);padding:1rem;overflow:auto;border-radius:.5rem}
11
13
  </style>
12
14
  <style id="block-reference-style">
13
15
  #extension-block-reference{max-width:72rem;margin:2rem auto;padding:1rem;line-height:1.6;overflow-wrap:anywhere}
@@ -50,5 +52,9 @@
50
52
  </section>
51
53
  <!-- END COMPLETE BLOCK REFERENCE -->
52
54
  <section lang="ja" id="fixed-input-editors"><h2>固定入力の編集</h2><p>対応GUIの固定入力機能は既定OFFです。既存値は開いただけでは変更せず、reporter接続は評価・置換しません。新しい選択と有限JSON数値入力のみを検証して保存し、既存の補正・丸め処理を維持します。機能OFFで従来の編集へ戻せます。</p><p><a href="fixed-input-editors.ja.md">対象入力・Schemaの正本・互換性・切戻し</a></p></section>
55
+ <!-- The shared TurboWarp Plus header. It inserts itself at the top of the
56
+ page in a shadow root, so it cannot disturb the styles below. -->
57
+ <script type="module"
58
+ src="https://kubohiroya.github.io/turbowarp-plus-site-header/dist/auto.js"></script>
53
59
  </body>
54
60
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubohiroya/turbowarp-document-data",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Named HTML and Markdown document trees for TurboWarp and HTTP response bodies.",
5
5
  "author": "Hiroya Kubo <hiroya@cuc.ac.jp>",
6
6
  "license": "MPL-2.0",
@@ -24,6 +24,7 @@
24
24
  ],
25
25
  "type": "module",
26
26
  "files": [
27
+ "assets/",
27
28
  "dist/",
28
29
  "docs/",
29
30
  "src/",
@@ -38,7 +39,7 @@
38
39
  "registry": "https://registry.npmjs.org/"
39
40
  },
40
41
  "peerDependencies": {
41
- "@kubohiroya/turbowarp-named-data": "0.3.1"
42
+ "@kubohiroya/turbowarp-named-data": "^0.5.0"
42
43
  },
43
44
  "packageManager": "pnpm@11.11.0",
44
45
  "engines": {
@@ -60,9 +61,9 @@
60
61
  },
61
62
  "devDependencies": {
62
63
  "@eslint/js": "^9.39.5",
63
- "@kubohiroya/turbowarp-extension-manifest": "0.3.2",
64
- "@kubohiroya/turbowarp-named-data": "0.3.1",
65
- "@kubohiroya/vite-plugin-turbowarp-extension": "0.6.1",
64
+ "@kubohiroya/turbowarp-extension-manifest": "^0.3.2",
65
+ "@kubohiroya/turbowarp-named-data": "^0.5.0",
66
+ "@kubohiroya/vite-plugin-turbowarp-extension": "^0.8.0",
66
67
  "@types/mdast": "^4.0.4",
67
68
  "@types/node": "^24.13.3",
68
69
  "eslint": "^9.39.5",
@@ -71,16 +72,16 @@
71
72
  "typescript-eslint": "^8.66.0",
72
73
  "vite": "^8.2.2",
73
74
  "vitest": "^5.0.0",
74
- "@kubohiroya/turbowarp-extension-data-editor": "0.2.1"
75
+ "@kubohiroya/turbowarp-extension-data-editor": "^0.3.4"
75
76
  },
76
77
  "dependencies": {
77
78
  "mdast-util-from-markdown": "^2.0.3",
78
79
  "mdast-util-to-markdown": "^2.1.2",
79
80
  "parse5": "^8.0.1"
80
81
  },
81
- "gitHead": "d1b34cb87df3ee0630f5fea7ff7fbe8f7f3f7ae3",
82
+ "gitHead": "915f7d80f225001f2cc98da8f34903ad6b4d0e00",
82
83
  "x-turbowarp-source": {
83
- "revision": "d1b34cb87df3ee0630f5fea7ff7fbe8f7f3f7ae3",
84
+ "revision": "915f7d80f225001f2cc98da8f34903ad6b4d0e00",
84
85
  "revisionRole": "base-commit",
85
86
  "sourceState": "local-release-overlay"
86
87
  }
package/src/config.ts CHANGED
@@ -17,5 +17,5 @@ export const extensionConfig = {
17
17
  unsandboxed: true,
18
18
  docsURI: 'https://kubohiroya.github.io/turbowarp-document-data/',
19
19
  blockIconURI:
20
- 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHJlY3QgeD0iNCIgeT0iOCIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE0IiByeD0iMyIgZmlsbD0iIzRDOTdGRiIvPjxyZWN0IHg9IjI2IiB5PSI4IiB3aWR0aD0iMTgiIGhlaWdodD0iMTQiIHJ4PSIzIiBmaWxsPSIjNTlDMDU5Ii8+PHJlY3QgeD0iMTUiIHk9IjI2IiB3aWR0aD0iMTgiIGhlaWdodD0iMTQiIHJ4PSIzIiBmaWxsPSIjRkZBQjE5Ii8+PC9zdmc+'
20
+ 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHJlY3QgeD0iNCIgeT0iOCIgd2lkdGg9IjQwIiBoZWlnaHQ9IjMyIiByeD0iNiIgZmlsbD0iIzhBNTVENyIvPjxwYXRoIGQ9Ik0xNyAxNGg5bDYgNnYxNGEyIDIgMCAwIDEtMiAySDE3YTIgMiAwIDAgMS0yLTJWMTZhMiAyIDAgMCAxIDItMnoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNMjYgMTR2Nmg2IiBmaWxsPSIjOEE1NUQ3Ii8+PHBhdGggZD0iTTE5IDI3aDEwTTE5IDMyaDciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzhBNTVENyIgc3Ryb2tlLXdpZHRoPSIyLjQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg=='
21
21
  } as const;