lumiverse-spindle-types 0.6.13 → 0.6.14
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/package.json +1 -1
- package/src/dom.ts +23 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
package/src/dom.ts
CHANGED
|
@@ -120,6 +120,23 @@ export type SpindleMountPoint =
|
|
|
120
120
|
|
|
121
121
|
// ── Drawer Tab ──
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Contextual documentation displayed by Lumiverse using its native
|
|
125
|
+
* guide viewer.
|
|
126
|
+
*
|
|
127
|
+
* Guide Markdown is rendered and sanitized by the host application.
|
|
128
|
+
*/
|
|
129
|
+
export interface SpindleGuideDefinition {
|
|
130
|
+
/** Markdown content for the guide. */
|
|
131
|
+
markdown: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Optional title shown by the guide viewer.
|
|
135
|
+
* Falls back to the title of the owning tab.
|
|
136
|
+
*/
|
|
137
|
+
title?: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
123
140
|
export interface SpindleDrawerTabOptions {
|
|
124
141
|
/** Unique tab identifier. Used internally for routing and state. */
|
|
125
142
|
id: string;
|
|
@@ -133,6 +150,8 @@ export interface SpindleDrawerTabOptions {
|
|
|
133
150
|
keywords?: string[];
|
|
134
151
|
/** Title shown in the panel header navbar. Falls back to `title` if omitted. Useful when the header needs a shorter label than the command palette entry. */
|
|
135
152
|
headerTitle?: string;
|
|
153
|
+
/** Optional contextual documentation for this tab. */
|
|
154
|
+
guide?: SpindleGuideDefinition;
|
|
136
155
|
/** URL to a 16x16 or 24x24 icon image. Mutually exclusive with `iconSvg`. */
|
|
137
156
|
iconUrl?: string;
|
|
138
157
|
/** Inline SVG string for the tab icon. Mutually exclusive with `iconUrl`. */
|
|
@@ -159,6 +178,8 @@ export interface SpindleCharacterEditorTabOptions {
|
|
|
159
178
|
id: string;
|
|
160
179
|
/** Label shown in the character editor tab bar. */
|
|
161
180
|
title: string;
|
|
181
|
+
/** Optional contextual documentation for this tab. */
|
|
182
|
+
guide?: SpindleGuideDefinition;
|
|
162
183
|
}
|
|
163
184
|
|
|
164
185
|
export interface SpindleCharacterEditorTabHandle {
|
|
@@ -210,6 +231,8 @@ export interface SpindlePresetEditorTabOptions {
|
|
|
210
231
|
id: string;
|
|
211
232
|
/** Label shown in the Loom preset editor tab bar. */
|
|
212
233
|
title: string;
|
|
234
|
+
/** Optional contextual documentation for this tab. */
|
|
235
|
+
guide?: SpindleGuideDefinition;
|
|
213
236
|
}
|
|
214
237
|
|
|
215
238
|
export interface SpindlePresetEditorTabHandle {
|